OrientDB 3.0.15
Pyorient 1.5.5
Python 2.7

On Monday, June 17, 2019 at 10:49:52 AM UTC, Suhas wrote:
>
> 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/8b335dd0-6478-4475-b527-318a9338573d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to