@@ -102,9 +102,9 @@ visit the :ref:`django-get-started` tutorial.
102
102
Insert Documents
103
103
----------------
104
104
105
- To insert a document into a collection, call the ``create()`` method
106
- on an instance of your model's ``Manager`` class. Pass the new document's
107
- fields and values as arguments to the ``create()`` method.
105
+ To insert a document into a collection, call the ``create()`` method on your
106
+ model's ``Manager`` class. Pass the new document's field names and field values
107
+ as arguments to the ``create()`` method.
108
108
109
109
Example
110
110
~~~~~~~
@@ -131,8 +131,8 @@ of ``141``:
131
131
Read Documents
132
132
--------------
133
133
134
- To retrieve documents from your collection, call the ``filter()`` method on an
135
- instance of your model's ``Manager`` class. Pass a query filter, or criteria
134
+ To retrieve documents from your collection, call the ``filter()`` method
135
+ on your model's ``Manager`` class. Pass a query filter, or criteria
136
136
that specifies which documents to retrieve, as an argument to the ``filter()`` method.
137
137
138
138
Alternatively, you can call the ``get()`` method to retrieve a single document
@@ -194,7 +194,7 @@ Modify Documents
194
194
----------------
195
195
196
196
To modify documents in a collection, call the ``filter()`` and ``update()``
197
- methods on an instance of your model's ``Manager`` class. Pass a query filter,
197
+ methods on your model's ``Manager`` class. Pass a query filter,
198
198
or criteria that specifies which documents to update, as an argument to the
199
199
``filter()`` method. Then, pass the fields and values you want to update as
200
200
arguments to the ``update()`` method.
@@ -229,7 +229,7 @@ Delete Documents
229
229
----------------
230
230
231
231
To delete documents in a collection, call the ``filter()`` and ``delete()``
232
- methods on an instance of your model's ``Manager`` class. Pass a query filter,
232
+ methods on your model's ``Manager`` class. Pass a query filter,
233
233
or criteria that specifies which documents to delete, as an argument to the
234
234
``filter()`` method.
235
235
0 commit comments