Just for reference: I think the better link to know ODocument methods is below one: http://www.orientdb.org/releases/latest/javadoc/com/orientechnologies/orient/core/record/impl/ODocument.html
Regards, Gaurav On Friday, March 21, 2014 2:43:47 PM UTC+5:30, Lvc@ wrote: > > Hi Gaurav, > you can find this information into the documentation: > https://github.com/orientechnologies/orientdb/wiki/Document-Database > > Lvc@ > > > > On 20 March 2014 21:13, Gaurav Dhiman <[email protected] > <javascript:>>wrote: > >> Thanks Luca. >> >> How can we access the property from ODocument ? What are the available >> methods of ODocument ? >> >> Regards, >> Gaurav >> Hi Gaurav, >> it returns a ODocument array. >> >> Lvc@ >> >> >> >> On 20 March 2014 15:09, Gaurav Dhiman <[email protected] <javascript:> >> > wrote: >> >>> I am using db.query() in server side JS functions. >>> What does it acutally return ? Object, Array of Objects or JSON ? >>> >>> ret = db.query("*select from *ouser"); >>> What will be the ret ? >>> >>> If I do *ret.name <http://ret.name>*, function gives error. How to >>> access document property in returned result ? >>> >>> >>> ret = db.query("insert into Profile SET name = 'Jay', surname = 'Miner' >>> "); >>> What will be ret in this case ? >>> >>> ret = db.query("UPDATE Profile SET nick='Luca' WHERE nick IS NULL"); >>> What will be ret in this case ? >>> >>> Regards, >>> Gaurav >>> >>> -- >>> >>> --- >>> 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] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "OrientDB" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/orient-database/iMW3pK4RRwE/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- 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.
