Hi

I am using orientdb-2.0rc1 and when I try server side functions 
(javascript) I found a problem.

How can I get a query value in the code. example:

> var g = orient.getGraph();
> var res = g.command('sql',"SELECT * FROM city WHERE city='"+city+"'",[]);
> return res[0].name;


and result is empty. No error just simple nothing. When I try this 
res[0].field('name') it throws an error. No field function.

 

-- 

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