Hi,

In this query, I am talking about *Javascript function on server side*.

Can we do something like below in JS function on server side ?


*doc = db.ODocument('Company');*
*doc.name = "Test Company";*
*doc.owner = user;      // user is another doc in User class --- linking 
docs here.*
*doc.save();*

If above is now the right way to do in Javascript function on server side, 
then what is the right way to create doc, interlink them and save them, 
without hitting the performance.

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.

Reply via email to