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
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
46817caa68
various unused imports removed (I am allergic)
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
Wilson Júnior
87c97efce0
refs #709 , added CachedReferenceField.sync_all to sync all documents on demand
2014-07-25 08:44:59 -03:00
Bruno Rocha
99e943c365
Updates with no operator should default to $set Fix #667
2014-07-02 14:39:29 -03:00
Ross Lawley
be3643c962
Added elemMatch
operator as well - match
is too obscure #653
2014-06-27 13:39:47 +01:00
Ross Lawley
89b9b60e0c
Geo SON tweaks
2014-06-27 11:27:10 +01:00
Ross Lawley
cfc31eead3
Fixed $maxDistance location for geoJSON $near queries with MongoDB 2.6+
...
Closes #664
2014-06-26 17:13:35 +01:00
poly
4d7b988018
Fixed uncorrectly split a query key, when it ends with "_"
2014-04-01 19:52:21 +08:00
Ross Lawley
6db59a9c31
Fix setting Geo Location fields ( #488 )
2013-11-29 11:41:54 +00:00
Ross Lawley
0dd01bda01
Fixed "$pull" semantics for nested ListFields ( #447 )
2013-08-20 15:54:42 +00:00
crazyzubr
70b320633f
permit the establishment of a field with the name of size or other
...
Example:
# model
class Example(Document):
size = ReferenceField(Size, verbose_name='Size')
# query
examples = Example.objects(size=instance_size)
# caused an error
"""
File ".../mongoengine/queryset/transform.py", line 50, in query
if parts[-1] == 'not':
IndexError: list index out of range
"""
2013-08-15 19:32:13 +08:00
Ross Lawley
5e70e1bcb2
Update transform to handle docs erroneously passed to unset ( #416 )
2013-07-30 13:17:38 +00:00
Ross Lawley
d6edef98c6
Added match ($elemMatch) support for EmbeddedDocuments ( #379 )
2013-06-21 11:29:23 +00:00
Ross Lawley
870ff1d4d9
Added $setOnInsert support for upserts ( #308 )
...
Upserts now possible with just query parameters (#309 )
2013-05-07 11:11:55 +00:00
Ross Lawley
9c1cd81adb
Add support for new geojson fields, indexes and queries ( #299 )
2013-04-30 14:46:23 +00:00
Ross Lawley
5e94637adc
DecimalField now stores as float not string ( #289 )
2013-04-25 15:39:57 +00:00
Ross Lawley
3364e040c8
Ensure $maxDistance is always the last part of the query ( #179 )
2013-01-22 16:05:44 +00:00
Ross Lawley
2c7b12c022
Added support for $maxDistance ( #179 )
2013-01-22 13:31:53 +00:00
Ross Lawley
72dd9daa23
Fixing py3.3 tests
2013-01-09 16:16:48 +00:00
Ross Lawley
6f29d12386
Changed the inheritance model to remove types
...
The inheritance model has changed, we no longer need to store an array of
`types` with the model we can just use the classname in `_cls`.
See the upgrade docs for information on how to upgrade
MongoEngine/mongoengine#148
2012-10-15 13:48:02 +00:00