Fix #766: Add support for operator

This commit is contained in:
David Bordeynik
2015-02-14 18:40:24 +02:00
parent b18d87ddba
commit 225c31d583
3 changed files with 14 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ __all__ = ('query', 'update')
COMPARISON_OPERATORS = ('ne', 'gt', 'gte', 'lt', 'lte', 'in', 'nin', 'mod',
'all', 'size', 'exists', 'not', 'elemMatch')
'all', 'size', 'exists', 'not', 'elemMatch', 'type')
GEO_OPERATORS = ('within_distance', 'within_spherical_distance',
'within_box', 'within_polygon', 'near', 'near_sphere',
'max_distance', 'geo_within', 'geo_within_box',