Batch mode: return a map of expanded records

24 views
Skip to first unread message

Red-0ne

unread,
Feb 23, 2015, 9:32:56 AM2/23/15
to orient-...@googlegroups.com
Hello,
Trying to get more than one record using batch mode:

BEGIN
LET file
= CREATE VERTEX File SET path = '/tmp/some_file'
CREATE EDGE ownsFile FROM
#16:0 TO $file
LET user
= UPDATE #16:0 INCREMENT files = 1 RETURN AFTER
COMMIT RETRY
100
RETURN
{ user: $user, file: $file }

Everything is ok except that the returned map contains rids instead of expanded record. I suppose this is the intended behaviour.

So is there a way to get the expanded records into the returned map instead of rid?

Thank you.
Reply all
Reply to author
Forward
0 new messages