Skip to content

Commit

Permalink
docs: fix a typo (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
FallenSpaces authored and msiemens committed Dec 5, 2020
1 parent bc7c139 commit 207ce81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ In addition you can get the ID of already inserted documents using
3
>>> el = db.all()[0]
>>> el.doc_id
1
>>> el = db.all()[-1]
>>> el.doc_id
12

Different TinyDB methods also work with IDs, namely: ``update``, ``remove``,
Expand Down

0 comments on commit 207ce81

Please sign in to comment.