Thank you, but actually, that doesn't get me what I'm looking for. True, rid is a string in the JSON, but I'm still not able to get the rid as a simple variable. What is need is just "#xx:yy", not part of a JSON structure. In one attempt at a Javascript function, I used variations of result[0]."@rid" and wasn't able to get it to work. Are you suggesting that result[0]."rid" or .rid with the .asString() option is the solution?
On Mon, Jun 6, 2016 at 2:46 AM, <alessandrorot...@gmail.com> wrote: > Hi Eric, > you should use this query > > INSERT INTO VMenu CONTENT {"Main":"PM", "Timeout":"PT", "Error":"PE"} > RETURN @rid.asString() > > > > <https://lh3.googleusercontent.com/-3w1Fj4HA_Ic/V1UqGSs8AVI/AAAAAAAAANg/vUV7z-8xaMELFlxoqxWNIBR5w62AV-3ZQCLcB/s1600/image2.png> > > Kind regards, > A > > -- > > --- > 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/en8zNxWtC88/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > orient-database+unsubscr...@googlegroups.com. > 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.