-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
Return values for insert, update, and remove are poorly documented.
insert returns document's _id, whether it's a safe insert or not. same for save(). update returns None for unsafe update. for safe update, something like
{'ok': 1.0, 'n': 1}. same for remove().
Also check on docs for command-helper return values.
- is related to
-
PYTHON-423 Support MongoClient / MongoReplicaSetClient defaulting to acknowledged write operations.
-
- Closed
-