We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_id
I seem to be getting multiple repeated _ids when the db is opened and closed repeatedly, and each session only inserts one entry. Is this expected?
>>> TinyDB('db.json').insert({'x': 1}) >>> TinyDB('db.json').insert({'x': 1}) >>> TinyDB('db.json').all() [{u'_id': 0, u'x': 1}, {u'_id': 0, u'x': 1}]
This is with 1.2.0 from pypi
$ pip freeze | grep tinydb tinydb==1.2.0
The text was updated successfully, but these errors were encountered:
Fixed bug #7: IDs not unique
cabbdcb
8fd08fb
Awesome!
Sorry, something went wrong.
Thanks for reporting this issue! I've just uploaded v1.3.0 where this is fixed (along with some other changes) :)
v1.3.0
No branches or pull requests
I seem to be getting multiple repeated
_id
s when the db is opened and closed repeatedly, and each session only inserts one entry. Is this expected?This is with 1.2.0 from pypi
The text was updated successfully, but these errors were encountered: