Hi Chris, it's not supported right now. Could you please open a new issue about this and flag it as "enhancement"?
Thanks Luigi 2015-08-14 1:09 GMT+02:00 <[email protected]>: > Well, I just figured out the answer to this question, but thought I'd > share it for someone else who may be wanting to know. > > I have three records that I need to insert in a single query: > {name; 'mal', role: 'captain', ship: 'firefly'} > {name: 'zoe', role: 'first', husband: 'wash'} > {name: 'book', role: 'shephard', past: 'unknown'} > > > What I really want is for this to be possible: > > INSERT INTO characters CONTENT {}, {}, {} > > > > Obviously with the correct JSON content. But that throws errors. > > The only alternative I can find is following the VALUES syntax like > INSERT INTO Profile(name,surname) VALUES ('Jay','Miner'),('Frank', > 'Hermier'),('Emily','Saut') > > But I can't figure out how to make this work in a schemaless way: > > INSERT INTO characters (name, role, ship, husband, past) > VALUES > ('mal', 'captain', 'firefly', null, null), > ('zoe', 'first', null, 'wash', null), > ('book', 'shephard', null, null, 'unknown') > > And actually, that works just fine. Thank you! > > -- > > --- > 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.
