Skip to content

Commit

Permalink
fix field name in doc example (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
yelizariev committed Jun 10, 2020
1 parent 4b01e63 commit 117c81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conditional.rst
Expand Up @@ -89,7 +89,7 @@ This example saves a `Thread` item, only if the item exists.
print(thread_item.save(Thread.forum_name.exists())
# You can specify multiple conditions
print(thread_item.save(Thread.forum_name.exists() & Thread.forum_subject.contains('foobar')))
print(thread_item.save(Thread.forum_name.exists() & Thread.subject.contains('foobar')))
Conditional Model.update
Expand Down

0 comments on commit 117c81d

Please sign in to comment.