Join GitHub today
Wrong _last_id when opening an existing database #34
TinyDB version 2.0.1. My interpreter session:
Ids are actually sorted alphabetically.Table.init, so '99' is the last one. A workaround (albeit perhaps not the best one) is to replace line 191:
by the following:
I find it strange I'm the first to notice this issue.