diff options
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index 86a40682ced..8f5a188ac86 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -77,10 +77,12 @@ namespace mongo { @return true if object found */ - static bool findOne(Collection* collection, const BSONObj &query, - BSONObj& result, bool requireIndex = false); - static DiskLoc findOne(Collection* collection, const BSONObj &query, - bool requireIndex); + static bool findOne(Collection* collection, + const BSONObj &query, + BSONObj& result, + bool requireIndex = false); + + static DiskLoc findOne(Collection* collection, const BSONObj &query, bool requireIndex); /** * have to be locked already |