Update mongoengine.rst

This commit is contained in:
zhuangzhuang 2024-11-27 18:14:18 +08:00 committed by David Lord
parent 165af0a090
commit 75a8327cfd
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926

View file

@ -80,7 +80,7 @@ Queries
Use the class ``objects`` attribute to make queries. A keyword argument
looks for an equal value on the field. ::
bttf = Movies.objects(title="Back To The Future").get_or_404()
bttf = Movie.objects(title="Back To The Future").get_or_404()
Query operators may be used by concatenating them with the field name
using a double-underscore. ``objects``, and queries returned by