Skip to content

Commit 8d6df2c

Browse files
committed
Docs: fix plural form for "criteria"
1 parent 790219f commit 8d6df2c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

include/mysql_devapi.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class PUBLIC_API Collection
435435
/**
436436
Return an operation which finds documents that satisfy given criteria.
437437
438-
The criteria is specified as a Boolean expression string.
438+
The criteria are specified as a Boolean expression string.
439439
Call `execute()` on the returned operation object to execute it and get
440440
a `DocResult` object that gives access to the documents. Specify additional
441441
query parameters, such as ordering of the documents, using chained methods
@@ -481,16 +481,16 @@ class PUBLIC_API Collection
481481
}
482482

483483
/**
484-
Return an operation which removes documents satisfying the given criteria.
484+
Return an operation which removes documents satisfying given criteria.
485485
486-
The criteria is specified as a Boolean expression string.
486+
The criteria are specified as a Boolean expression string.
487487
Call `execute()` on the returned operation object to execute it and remove
488488
the matching documents. Use chained methods of `CollectionRemove` class
489489
before the final call to `execute()` to further limit the set of documents
490490
that are removed.
491491
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.
494494
495495
@note Any errors related to the operation are reported when the operation
496496
is executed, not when it is created.
@@ -507,16 +507,16 @@ class PUBLIC_API Collection
507507
}
508508

509509
/**
510-
Return an operation which modifies documents that satisfy the given criteria.
510+
Return an operation which modifies documents that satisfy given criteria.
511511
512-
The criteria is specified as a Boolean expression string.
512+
The criteria are specified as a Boolean expression string.
513513
Specify modifications to be applied to each document using chained methods
514514
of `CollectionModify` class on the returned operation object. Call
515515
`execute()` to execute the operation and modify matching documents
516516
as specified.
517517
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.
520520
521521
@note Any errors related to the operation are reported when the operation
522522
is executed, not when it is created.

0 commit comments

Comments
 (0)