Thank you!

On Sat, Sep 12, 2015 at 12:22 PM, Jan Plaček <[email protected]> wrote:

> Set the variable in sideEffect:
>
> g.addVertex().sideEffect{v = it; println v.id;}
>
> If you check the DB console, there should be printed id of added vertex
> (like "#9:-2").
>
> Dne sobota 12. září 2015 17:30:54 UTC+2 Valery T napsal(a):
>
>> I am trying to run the following query in Studio:
>> v1 = g.addVertex()
>> The Studio produces error:
>> com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException:
>> Cannot find a command executor for the command request: sql.v1 =
>> g.addVertex()
>>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/7kD_VKEzceU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> 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