Hi 

I send the Json string to execute Batch via REST following like this

{ "transaction" : true,
    "operations" : [ {
    "type" : "script",
    "language" : "sql",
    "script" : [ "begin ",
    "let shout = create vertex Shout set title = 'Hello null#13:10', 
message = '', createDate = '2014-11-04 17:40:29', posLat = 
6.997173027511074, posLng = 100.45356899499893, radius = 1624.823808670044",
    "let user = select from #13:10",
    "let e = create edge make from $user to $shout retry 100 ",
    "return $e" ]
} ] }

and why the return result of @rid of "in" look like this(in highlight)

{"result":[{"@type":"d","@version":0,"@class":"make","in":"#12:-2"
,"out":"#13:10"}]}

I expect the result look like this

{"result":[{"@type":"d","@version":0,"@class":"make","in":"#12:16"
,"out":"#13:10"}]}

Please give me the solution. Thanks =)

-- 

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