apiargs-MongoDBCollection-method-count-option.yaml 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
arg_name: option
name: hint
type: string or array|object
description: |
  The index to use. If you specify a document, it is interpreted as
  an index specification and a name will be generated.
optional: true
interface: phpmethod
operation: MongoDB\\Collection::count
position: 1
---
arg_name: option
name: limit
type: integer
description: |
  The maximum number of documents to return.
optional: true
interface: phpmethod
operation: MongoDB\\Collection::count
position: 2
---
source:
  ref: maxTimeMS
  file: apiargs-common-option.yaml
operation: MongoDB\\Collection::count
position: 3
---
source:
  ref: readConcern
  file: apiargs-common-option.yaml
operation: MongoDB\\Collection::count
replacement:
  resource: "count"
position: 4
---
source:
  ref: readPreference
  file: apiargs-common-option.yaml
replacement:
  resource: "count"
position: 5
---
arg_name: option
name: skip
type: integer
description: |
  The number of documents to skip before returning the documents.
optional: true
interface: phpmethod
operation: MongoDB\\Collection::count
position: 6
...