diff options
Diffstat (limited to 'db/ops/update.h')
-rw-r--r-- | db/ops/update.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/ops/update.h b/db/ops/update.h index de5805a..73e4437 100644 --- a/db/ops/update.h +++ b/db/ops/update.h @@ -623,6 +623,9 @@ namespace mongo { } + /** @return true iff the elements aren't eoo(), are distinct, and share a field name. */ + static bool duplicateFieldName( const BSONElement &a, const BSONElement &b ); + public: bool canApplyInPlace() const { |