FindOptions

Options used to configure find operations.

package

Default

Methods

FindOptions constructor

__construct( $findOptions = null) 

Arguments

$findOptions

mixed | null

getBatchSize

getBatchSize() : integer

Response

integer

getFields

getFields() : array

Response

array

getLimit

getLimit() : integer

Response

integer

getSkip

getSkip() : integer

Response

integer

getSort

getSort() : array

Response

array

setBatchSize

setBatchSize( $batchSize) : $this

Arguments

$batchSize

integer

Response

$this

setFields

setFields( $fields) : $this

Arguments

$fields

array

Response

$this

setLimit

setLimit( $limit) : $this

Arguments

$limit

integer

Response

$this

setSkip

setSkip( $skip) : $this

Arguments

$skip

integer

Response

$this

setSort

setSort( $sort) : $this

Arguments

$sort

array

Response

$this