diff options
Diffstat (limited to 'src/mongo/db/ops/update.h')
-rw-r--r-- | src/mongo/db/ops/update.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/update.h b/src/mongo/db/ops/update.h index 2c5e0fc0f97..5b7f0a4e324 100644 --- a/src/mongo/db/ops/update.h +++ b/src/mongo/db/ops/update.h @@ -50,8 +50,8 @@ class UpdateDriver; UpdateResult update(OperationContext* opCtx, Database* db, const UpdateRequest& request); /** - * takes the from document and returns a new document - * after apply all the operators + * Takes the 'from' document and returns a new document after applying 'operators'. arrayFilters are + * not supported. * e.g. * applyUpdateOperators( BSON( "x" << 1 ) , BSON( "$inc" << BSON( "x" << 1 ) ) ); * returns: { x : 2 } |