Matthieu Rigal
d96fcdb35c
Fixed problem of ordering when using near_sphere operator
2015-06-22 14:57:58 +02:00
Matthieu Rigal
5efabdcea3
Added tests, documentation and simplified code
2015-06-22 14:57:58 +02:00
Liam Horne
2d57dc0565
Fixed an indentation mistake
2015-06-22 14:57:30 +02:00
lihorne
576629f825
Added support for $minDistance query
2015-06-22 14:57:30 +02:00
Matthieu Rigal
bcc4d4e8c6
Added test and fix for delete with write_concern w:0
2015-06-21 03:40:45 +02:00
Stefan Wojcik
b7ef82cb67
style tweaks + changelog entry
2015-06-18 11:02:11 -07:00
Stefan Wojcik
1233780265
make aggregate_sum/average compatible with pymongo 3.x
2015-06-18 11:01:37 -07:00
Stefan Wojcik
dd095279c8
aggregate_sum/average + unit tests
2015-06-18 11:01:37 -07:00
Matthieu Rigal
7714cca599
Removed get_or_create() method, deprecated since 0.8
2015-06-12 20:51:59 +02:00
Matthieu Rigal
a2f0f20284
Improve error message for invalid query
2015-06-11 17:48:34 +02:00
Matthieu Rigal
794101691c
removed wire_concern usage and cosmetics
2015-05-07 19:34:31 +02:00
mrigal
3ab5ba6149
added explicit warnings when calling methods having no effect anymore with PyMongo3+
2015-05-07 12:47:30 +02:00
mrigal
c25619fd63
improved deprecation documentation and added warning when using snapshot with PyMongo3
2015-05-07 12:47:30 +02:00
mrigal
76adb13a64
Minor text and comments enhancements
2015-05-07 12:47:30 +02:00
mrigal
33b1eed361
corrected logical test for not Pymongo3 versions
2015-05-07 12:47:30 +02:00
mrigal
6ad9a56bd9
corrected bad import preventing to run on PyMongo 2.X versions
2015-05-07 12:47:30 +02:00
mrigal
0a65006bb4
replaced find_and_modify by PyMongo3 equivalents
2015-05-07 12:47:30 +02:00
mrigal
48316ba60d
implemented global IS_PYMONGO_3
2015-05-07 12:47:29 +02:00
mrigal
ccbd128fa2
first adaptations after comments and find-outs
2015-05-07 12:47:29 +02:00
mrigal
46817caa68
various unused imports removed (I am allergic)
2015-05-07 12:47:29 +02:00
mrigal
3b8f31c888
fix problems with cursor arguments
2015-05-07 12:47:29 +02:00
Eremeev Danil
aab0599280
test moved to another file, cosmetical fixes
2015-05-07 10:55:35 +05:00
Eremeev Danil
dfa8eaf24e
Added changeset, updated documentation and tests, changed test condition
2015-05-07 10:55:35 +05:00
Eremeev Danil
63d55cb797
solution for #949
2015-05-07 10:54:16 +05:00
David Bordeynik
a512ccca28
fix-#453: Queryset update doesn't go through field validation
2015-05-02 15:15:02 +03:00
David Bordeynik
129632cd6b
Fix #863 : Request Support for $min, $max Field update operators
2015-02-17 21:48:25 +02:00
David Bordeynik
225c31d583
Fix #766 : Add support for operator
2015-02-15 15:05:07 +02:00
aeroeng
d80be60e2b
mongo $and list should not contain list elements in order to avoid this error:
...
$and/$or elements must be objects
2015-01-06 14:49:29 -05:00
Omer Katz
ff659a0be3
Merge pull request #815 from MRigal/master
...
fixed bug for queryset.distinct to work also on embedded documents, not ...
2014-12-04 14:21:04 +02:00
Antoine Français
7bb65fca4e
Fix crash when applying deletion rules
...
When deleting a document references by other, if that refence is
defined on an abstract document, the operation fails, because it tries
to apply deletion on the abstract class which doesn't have a QuerySet.
Fix is simply to ignore document classes which are defined abstract when
applying rules on all classes referencing the document.
2014-12-04 11:34:23 +01:00
Slam
51f314e907
Doc fixes, thanks @3Inc
...
Author: Slam <3lnc.slam@gmail.com>
Date: Fri Nov 28 13:10:38 2014 +0200
2014-12-02 00:37:06 -02:00
Wilson Júnior
2b3bb81fae
Refactoring: Simple is better than complex
...
Signed-off-by: Wilson Júnior <wilsonpjunior@gmail.com>
2014-11-29 23:48:58 -02:00
Wilson Júnior
74a89223c0
replaced text_score
attribute to get_text_score
method
...
Signed-off-by: Wilson Júnior <wilsonpjunior@gmail.com>
2014-11-29 23:09:26 -02:00
mrigal
a03262fc01
implemented ability to return instances and not simple dicts for distinct on subdocuments
2014-11-28 16:23:23 +01:00
mrigal
d65ce6fc2c
fixed bug for queryset.distinct to work also on embedded documents, not just on lists of embedded documents
2014-11-28 13:54:33 +01:00
Slam
e0f1e79e6a
Minor typos fixes in docs
2014-11-24 16:57:43 +02:00
mikhailmoshnogorsky
b2c8c326d7
write_concern not in params of Collection#remove
2014-11-12 17:00:07 -05:00
DavidBord
914c5752a5
fix-#759: with_limit_and_skip for count should default like in pymongo
2014-11-07 09:21:17 +02:00
Yohan Graterol
1a5a436f82
Merge pull request #775 from claymation/in_bulk_honors_no_dereference
...
Make `in_bulk()` respect `no_dereference()`
2014-11-05 14:55:43 -05:00
DavidBord
b011d48d82
fix-#778: Add Support For MongoDB 2.6.X's maxTimeMS
2014-10-29 15:40:29 +02:00
Clay McClure
7d3146234a
Make in_bulk()
respect no_dereference()
2014-10-01 15:59:13 -04:00
DavidBord
9b30afeca9
fix-#397: Allow specifying the '_cls' as a field for indexes
2014-08-24 10:51:49 +03:00
DavidBord
2f72b23a0d
fix-#725: queryset delete() should return the number of deleted objects
2014-08-10 14:58:39 +03:00
DavidBord
e008919978
fix-#399: Not overriding default values when loading a subset of fields
2014-08-05 14:34:54 +03:00
Wilson Júnior
87c97efce0
refs #709 , added CachedReferenceField.sync_all to sync all documents on demand
2014-07-25 08:44:59 -03:00
Wilson Júnior
892ddd5724
added a wrapper to aggregate in Queryset.aggregate
2014-07-12 23:18:08 -03:00
Wilson Júnior
30c01089f5
added ordering support for text queries
2014-07-08 08:38:41 -03:00
Wilson Júnior
89825a2b21
added skip to mongodb older
2014-07-07 23:45:44 -03:00
Wilson Júnior
a743b75bb4
fixed a order in command
2014-07-07 21:02:13 -03:00
Wilson Júnior
f7ebf8dedd
Added support for text search and text_score.
2014-07-07 20:24:37 -03:00