diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-02-25 16:24:34 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-02-25 16:24:34 -0500 |
commit | f08ba724c3370a5a4f046ed9ab87c5cca11808b7 (patch) | |
tree | 06c8525f00aa7dcf6e31887e7cc8a3a8a4a4e198 /db/index.h | |
parent | 3d2b4f8ad4c3b4697501e32f864e790ca92c7ee4 (diff) | |
download | mongo-f08ba724c3370a5a4f046ed9ab87c5cca11808b7.tar.gz |
checkpoint on $near op
Diffstat (limited to 'db/index.h')
-rw-r--r-- | db/index.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/index.h b/db/index.h index 5d393f7c1d9..6665521542a 100644 --- a/db/index.h +++ b/db/index.h @@ -46,6 +46,8 @@ namespace mongo { const IndexPlugin * getPlugin() const { return _plugin; } + virtual auto_ptr<Cursor> newCursor( const BSONObj& query , const BSONObj& order ) const = 0; + virtual BSONObj fixKey( const BSONObj& in ) { return in; } protected: |