mrigal
ccbd128fa2
first adaptations after comments and find-outs
2015-05-07 12:47:29 +02:00
mrigal
36eedc987c
adapted index test to new explain output in pymongo3 and added comment to a possible pymongo3 bug
2015-05-07 12:47:29 +02:00
Stefan Wojcik
9bdc320cf8
dont send a "cls" option to ensureIndex (related to https://jira.mongodb.org/browse/SERVER-769 )
2015-05-06 11:25:45 +02:00
David Bordeynik
25298c72bb
Fix #877 : Fix tests for pymongo 2.8+
2015-02-15 10:02:22 +02:00
Matthew Ellison
db36d0a375
Ensure Indexes before Each Save
...
- Rely on caching within the PyMongo driver to provide lightweight calls
while indices are cached.
- Closes MongoEngine/mongoengine#812 .
2014-12-04 08:45:15 -05:00
Matthew Ellison
bc53dd6830
Generate Unique Indices for Lists of EmbeddedDocs
...
- Unique indices are now created in the database for EmbeddedDocument
fields when the EmbeddedDocument is in a ListField
- Closes Issue #358
2014-11-19 22:37:27 -05:00
DavidBord
46da918dbe
fix-#733: index_cls is ignored when deciding to set _cls as index prefix
2014-08-17 11:19:18 +03:00
Clay McClure
74bd7c3744
Include preliminary support for text indexes
...
To index a text field, prefix the field name with `$`, as in `$title`.
2014-06-27 14:48:32 -04:00
Ross Lawley
94e177c0ef
Allow strings to be used in index creation #677
2014-06-27 12:49:31 +01:00
Ross Lawley
708dbac70e
Depending on pymongo it might raise a TypeError or ValueError
2014-01-14 10:09:11 +00:00
Ross Lawley
0c43787996
Fixed indexing - turn off _cls ( #414 )
2013-07-30 11:43:52 +00:00
Ross Lawley
e58b3390aa
Removed import with from future
2013-05-01 08:48:14 +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
b0c1ec04b5
Improvements to indexing documentation ( #130 )
2013-04-29 07:38:31 +00:00
Ross Lawley
e4f38b5665
Fragile test fix
2013-04-22 16:46:59 +00:00
Ross Lawley
c16e6d74e6
Updated connection to use MongoClient ( #262 , #274 )
2013-04-22 15:07:15 +00:00
Ross Lawley
0cbd3663e4
Updated tests
2013-01-28 13:40:28 +00:00
Ross Lawley
fff27f9b87
Added support for compound primary keys ( #149 )
2013-01-24 10:37:54 +00:00
Ross Lawley
692f00864d
Fixed inheritance and unique index creation ( #140 )
2013-01-22 15:16:58 +00:00
Ross Lawley
a68529fba8
Merge branch 'master' into 0.8
...
Conflicts:
tests/test_document.py
2013-01-09 13:36:17 +00:00
Ross Lawley
3aff461039
Fix test discovery
2012-12-21 16:29:27 +00:00
Ross Lawley
485b811bd0
Test case for embedded docs and 2d indexes #183
2012-12-19 17:05:27 +00:00
Ross Lawley
f335591045
Fix index build_spec #177
2012-12-19 16:55:14 +00:00
Ross Lawley
8706fbe461
Updated index creation now tied to Document class (( MongoEngine/mongoengine#102 )
2012-11-07 15:04:45 +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