Done at https://github.com/orientechnologies/orientdb/issues/4795. Thank you.
On Thursday, August 13, 2015 at 6:09:52 PM UTC-5, [email protected] wrote: > > 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.
