@@ -435,7 +435,7 @@ class PUBLIC_API Collection
435
435
/* *
436
436
Return an operation which finds documents that satisfy given criteria.
437
437
438
- The criteria is specified as a Boolean expression string.
438
+ The criteria are specified as a Boolean expression string.
439
439
Call `execute()` on the returned operation object to execute it and get
440
440
a `DocResult` object that gives access to the documents. Specify additional
441
441
query parameters, such as ordering of the documents, using chained methods
@@ -481,16 +481,16 @@ class PUBLIC_API Collection
481
481
}
482
482
483
483
/* *
484
- Return an operation which removes documents satisfying the given criteria.
484
+ Return an operation which removes documents satisfying given criteria.
485
485
486
- The criteria is specified as a Boolean expression string.
486
+ The criteria are specified as a Boolean expression string.
487
487
Call `execute()` on the returned operation object to execute it and remove
488
488
the matching documents. Use chained methods of `CollectionRemove` class
489
489
before the final call to `execute()` to further limit the set of documents
490
490
that are removed.
491
491
492
- @note To remove all documents in the collection, pass "true" as
493
- the selection criteria.
492
+ @note To remove all documents in the collection, pass "true" as selection
493
+ criteria.
494
494
495
495
@note Any errors related to the operation are reported when the operation
496
496
is executed, not when it is created.
@@ -507,16 +507,16 @@ class PUBLIC_API Collection
507
507
}
508
508
509
509
/* *
510
- Return an operation which modifies documents that satisfy the given criteria.
510
+ Return an operation which modifies documents that satisfy given criteria.
511
511
512
- The criteria is specified as a Boolean expression string.
512
+ The criteria are specified as a Boolean expression string.
513
513
Specify modifications to be applied to each document using chained methods
514
514
of `CollectionModify` class on the returned operation object. Call
515
515
`execute()` to execute the operation and modify matching documents
516
516
as specified.
517
517
518
- @note To modify all documents in the collection, pass "true" as
519
- the selection criteria.
518
+ @note To modify all documents in the collection, pass "true" as selection
519
+ criteria.
520
520
521
521
@note Any errors related to the operation are reported when the operation
522
522
is executed, not when it is created.
0 commit comments