diff options
author | Aaron <aaron@10gen.com> | 2008-12-09 14:42:47 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2008-12-09 14:42:47 -0500 |
commit | 4c027f3cad2385e102de3c11ef03e5212b459953 (patch) | |
tree | 2b6f54fad0352b4d1efd872b66478e8290589e37 /db/jsobj.h | |
parent | 7d9d477e68646d41e66f9b01f0aed410be1c988f (diff) | |
download | mongo-4c027f3cad2385e102de3c11ef03e5212b459953.tar.gz |
Add comments for new functions, pass set<> by reference as requested by Dwight
Diffstat (limited to 'db/jsobj.h')
-rw-r--r-- | db/jsobj.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/jsobj.h b/db/jsobj.h index aa6c1863d2c..afc7810ede8 100644 --- a/db/jsobj.h +++ b/db/jsobj.h @@ -458,10 +458,12 @@ public: void append(const char *fieldName, string str) { append(fieldName, str.c_str()); } + // Append an element that is less than all other keys. void appendMinKey( const char *fieldName ) { b.append( (char) MinKey ); b.append( fieldName ); } + // Append an element that is greater than all other keys. void appendMaxKey( const char *fieldName ) { b.append( (char) MaxKey ); b.append( fieldName ); |