Thanks Luca ... very useful link to understand object hierarchy of OrientDB. Good link to bookmark :-)
I hope these objects and their properties as well as methods are also accessible in server side JavaScript function code. Regards, Gaurav On Mar 24, 2014 5:51 PM, "Luca Garulli" <[email protected]> wrote: > Use the official link: > > > http://www.orientechnologies.com/javadoc/latest/index.html?com/orientechnologies/orient/core/db/document/ODatabaseDocumentTx.html > > Lvc@ > > > > On 24 March 2014 13:11, Gaurav Dhiman <[email protected]> wrote: > >> 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]> 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]> 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]. >>>>> >>>>> 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]. >>>> >>>> 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. >>>> >>> >>> -- >> >> --- >> 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. >> > > -- > > --- > 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]. > 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.
