Unique IDs
TheoryOfNekomata opened this issue · 1 comments
TheoryOfNekomata commented
As a suggestion for this, see SQL's AUTOINCREMENT feature.
petersirka commented
Hi @Temoto-kun,
autoincrement is not planned because for it's needed another database (for current e.g. index). So and this is a problem.
You can create autoincrement via timestamp:
db.insert({ id: Date.now() });
Thanks!