Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add mention to no-op query in docs, tweak sentence #561

Merged
merged 1 commit into from
Oct 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ queries:
<https://docs.python.org/3/reference/expressions.html#operator-precedence>`_
for details.

You can compose queries dynamically by using the no-op query ``Query().noop()``.

Recap
.....

Expand Down Expand Up @@ -322,7 +324,7 @@ In order to perform multiple update operations at once, you can use the
... ({'int': 4}, where('char') == 'b'),
... ])

You also can use mix normal updates with update operations:
You also can mix normal updates with update operations:

>>> db.update_multiple([
... ({'int': 2}, where('char') == 'a'),
Expand Down