Omer Katz
2659ec5887
Merge pull request #1196 from nickptrvc/master
...
Fix pre_bulk_insert signal
2016-01-30 12:25:29 +02:00
Emmanuel Leblond
decd70eb23
Merge pull request #1220 from bagerard/patch-1
...
fixed minor typo in docstring
(PR has been issued by mistake to dev branch insteed of master)
2016-01-26 00:28:04 +01:00
Bastien
feb5eed8a5
fixed minor typo in docstring
2016-01-21 16:59:37 +01:00
Nick Pjetrovic
acc7448dc5
Fix pre_bulk_insert signal
2015-12-24 18:30:46 -05:00
srossiter
164e2b2678
Docstring change and rename variable to avoid clash with kwargs
2015-11-24 12:53:09 +00:00
srossiter
b7b28390df
Added upsert_one method on BaseQuerySet and modified test_upsert_one
2015-11-24 12:46:38 +00:00
Stefan Wojcik
54975de0f3
fix read_preference for PyMongo 3+
2015-11-23 10:46:52 -08:00
Stefan Wojcik
a7aead5138
re-create the cursor object whenever we apply read_preference
2015-11-23 10:46:52 -08:00
abonhomme
44f92d4169
docstring correction
...
Corrected the docstring for `mongoengine.queryset.base.update_one()`
2015-10-23 11:07:26 -04:00
David Bordeynik
5334ea393e
fix-#842: Fix ignored chained options
2015-07-02 23:08:09 +03:00
emilecaron
56a2e07dc2
always store docs in cascade_refs
2015-06-26 10:45:07 +00:00
emilecaron
9b7fe9ac31
restore broken behavior
2015-06-26 09:31:07 +00:00
emilecaron
b691a56d51
late set instanciation
2015-06-26 08:52:30 +00:00
emilecaron
646baddce4
fix cascade delete cycle issuue
2015-06-25 18:27:22 +00:00
emilecaron
1e3d2df9e7
fix illogicality
2015-06-25 15:40:12 +00:00
Matthieu Rigal
0aeb1ca408
Various fixes again
2015-06-24 00:50:36 +02:00
mrigal
778c7dc5f2
general pep8 and more clean-up
2015-06-23 23:15:44 +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
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
3b8f31c888
fix problems with cursor arguments
2015-05-07 12:47:29 +02: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
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