thanks for the code example Roger Gajraj
*M.Phil Candidate at U.W.I* *Dept. of Computing and IT* *(868) 303 4803* www.rogergajraj.com On Wed, Sep 30, 2015 at 3:29 PM, Jonathan Kienzle < [email protected]> wrote: > Something like this should work: > > db > .let('createPage', function(s) { > s.insert().into('Page').set({ > content: "test" > }); > }) > .let('pageEdge', function(s) { > s.create('EDGE', 'fromPage').from('$createPage').to(destination); > }) > .commit().return('$createPage').one(); > > hope this helps! > > On Wednesday, September 30, 2015 at 12:47:13 AM UTC+2, Roger Gajraj wrote: >> >> Can anyone give ANY example of how to use LET keyword within an SQL >> statement using OrientJS or Oriento? >> >> I understand how to us ethe LET keyword and I can get it working in Studio >> > -- > > --- > 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.
