Hello,
I am using orientdb version 1.7.8. I have written an ofunction which gives
me a resultant set of the query executed, i want to process this resultant
set further (inside the ofunction itself) by accessing each record. I am
not able to access each record and its attributes in ofunction. Following
is a sample ofunction which specifies what i want to achieve. This
ofunction is written in 'Javascript' language.
var gdb = orient.getGraph();
var roles = gdb.command("sql","select from ouser");
roles.forEach(function(record) {
// Code for accessing each record and it's attributes.... ???
});
return roles;
Please suggest some way, so that i will be able to access each record and
it's attributes.
Thanks,
Chinmay Shrikhande
--
---
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.