Hi Omega, where are you executing this javascript code? Is it in a web page, in Node.js or inside OrientDB (eg. an OFunction)?
2015-05-07 5:59 GMT+02:00 Omega Silva <omegasi...@gmail.com>: > Hi all, > > The Java API facilitates creating documents in the following style; > > ODocument newEmployee = new ODocument("Employee"); > newEmployee.field("name", "John"); > newEmployee.save(); > > Does the JavaScript API have something similar? > > Cheers. > Omega > > -- > > --- > 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 orient-database+unsubscr...@googlegroups.com. > 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.