Open nambhd opened 8 years ago
http://orientdb.com/docs/2.2/Sequences-and-auto-increment.html I can't not run this statement: DB::statement("CREATE SEQUENCE idseq"); And then, when I create or update record, how to SET id = sequence('idseq').next().
Use CREATE SEQUENCE idseq TYPE ORDERED.
http://orientdb.com/docs/2.2/Sequences-and-auto-increment.html I can't not run this statement: DB::statement("CREATE SEQUENCE idseq"); And then, when I create or update record, how to SET id = sequence('idseq').next().