I'm trying to execute batch sql queries using PyOrient. 

It works all fine when returning one value. For instance,

begin;
let abcde = select * from ABC limit 5;
return $abcde

The result I get is a list of `pyorient.otypes.OrientRecord`. 

How does one return multiple values? I did try:

begin;
let abcde = select * from ABC limit 5; 
let bcde = select * from XYZ limit 10;
return [$bcde, $abcde]

I get a list containing two lists each containing 
`pyorient.otypes.OrientRecordLink`, whose hash (get_hash()) doesn't seem to 
make much sense. Eg: 
link.get_hash()
# returns #-2:163

How do I get a list of OrientRecords instead?

-- 

--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/orient-database/97aa3a7e-c8ba-4e85-b6c8-142f4077dba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to