diff options
author | Dwight <dmerriman@gmail.com> | 2009-09-11 11:00:03 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-09-11 11:00:03 -0400 |
commit | 8b83d8ad5f60536bd1f42f774d8d80513d0d329c (patch) | |
tree | b21e94e064c9826162b475fcdabcf42fd9c55cda | |
parent | 1bdc3762c60f6ea73b2cbfedbf94851b75b40603 (diff) | |
download | mongo-8b83d8ad5f60536bd1f42f774d8d80513d0d329c.tar.gz |
fix comment
-rw-r--r-- | db/jsobj.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/db/jsobj.h b/db/jsobj.h index 4e1f3ac8213..af4090bc36f 100644 --- a/db/jsobj.h +++ b/db/jsobj.h @@ -988,12 +988,9 @@ namespace mongo { of a BSONObj, particularly when assembling a Query. For example, BSON( "a" << GT << 23.4 << NE << 30 << "b" << 2 ) produces the object { a: { \$gt: 23.4, \$ne: 30 }, b: 2 }. - - Use BSONwithID to create a BSON object with an object id (_id) auto prepended. */ #define BSON(x) (( mongo::BSONObjBuilder() << x ).obj()) - /* Utility class to auto assign object IDs. Example: cout << BSON( GENOID << z << 3 ); // { _id : ..., z : 3 } |