Thanks for the reply,

The Query works fine.

But I am not sure about the key,we get only the value i.e., IP address. 
Provided the Ip address, we want to replace it with new value. May be we 
need to get key with value given (i.e., Ip address) and update the new Ip 
address on the map with the same key.

Could you please provide a query which does the above.

On Monday, June 8, 2015 at 7:58:56 PM UTC+5:30, Giulia Brignoli wrote:
>
> Hi.
>
> Try this query: 
>
> update Ip set LOCAL_TO_NON_LOCAL = {"201":"111.222.333.444"} where 
> LOCAL_TO_NON_LOCAL['201'] 
> = "125.5.221.18"
>
> Bye, Giulia
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to