Skip to content

Commit

Permalink
docs: document Table.get(doc_ids=[...])
Browse files Browse the repository at this point in the history
  • Loading branch information
msiemens committed Jun 12, 2023
1 parent fb83651 commit b8ffbfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,11 @@ True
>>> db.remove(doc_ids=[1, 2])
>>> db.get(doc_id=3)
{...}
>>> db.get(doc_ids=[1, 2])
[{...}, {...}]

Using ``doc_id`` instead of ``Query()`` again is slightly faster in operation.
Using ``doc_id``/``doc_ids`` instead of ``Query()`` again is slightly faster
in operation.

Recap
.....
Expand Down

0 comments on commit b8ffbfe

Please sign in to comment.