Hi All

There is a lack of documentation on Function usages in other languages than 
Java. 

I created a test function to execute multiple SQL Statements in a single DB 
connection.

This is my code: 
var gdb = orient.getGraph()
results = gdb.command("sql", "select name from Person limit 5" )
print(results.getClass())  // This is an object of type Object[]
for (var r in results) {
print(r.getClass())   // Thisi is an object of type Integer 
}

I get 0,1,2,3,4 as my result in the server console. 

How can I get the records as complete rows from the response in the result? 
I checked the source code and it converts the results into an Array if it 
is a type of Iterable.

Need a little help here.. how do I get data out of the DB and in the 
correct format? 

-- 

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