Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
add 'aggregate', 'distinct', 'count' query method
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Apr 13, 2013
1 parent 64d1f40 commit 53e1f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongopersist/datamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class CollectionWrapper(object):
LOGGED_METHODS = ['insert', 'update', 'remove', 'save',
'find_and_modify', 'find_one', 'find', 'count']
QUERY_METHODS = ['group', 'map_reduce', 'inline_map_reduce', 'find_one',
'find', 'find_and_modify']
'find', 'find_and_modify', 'aggregate', 'distinct', 'count']
PROCESS_SPEC_METHODS = ['find_and_modify', 'find_one', 'find']

def __init__(self, collection, datamanager):
Expand Down

0 comments on commit 53e1f8d

Please sign in to comment.