Hi Luca

Thanks for replying.

Ya I tested in 1.7.8 and it's the same thing, if you run 
g.V.sideEffect{it.test="test"}

it will save the "test" field and value to the record. I even exported the 
database to be sure, and it confirmed that the fields were created in the 
db.

best


On Thursday, August 21, 2014 4:36:52 AM UTC, Lvc@ wrote:
>
> Hi Ivan,
> Can you reproduce it with 1.7.8 ?
>
> Lvc@
> ᐧ
>
>
> On 20 August 2014 17:25, Ivan Plaza <[email protected] <javascript:>> 
> wrote:
>
>> Sorry there was a typo, the query should look like this:
>>
>> g.V.sideEffect{it.test=true}.iterate()
>>
>> I tested this using the gremlin console and it seems to work ok (the 
>> record is not changed), so the problem seems to be specific to the Studio 
>> (version 1.7)
>>
>>
>>
>> On Wednesday, August 20, 2014 3:25:29 AM UTC, Ivan Plaza wrote:
>>>
>>> Hi,
>>>
>>> I am getting a weird behavior when using gremlin on orientdb. 
>>>
>>> Whenever I use functions like transform or sideffect to change the 
>>> pipeline values, it automatically changes the underlying orientdb record 
>>> and saves it.
>>>
>>> For example, say I execute the following command in studio:
>>>
>>> g.V.transform{it.test=true}.iterate()
>>>
>>> This will add the "test" field to all my records permanently.
>>>
>>> Is this what it's supposed to do? 
>>>
>>  -- 
>>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
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