class MangoQuery implements JsonSerializable (View source)

Properties

protected $selector
protected $options
protected $fields
protected $sort
protected $skip
protected $limit
protected $use_index

Methods

__construct(array $selector = [], array $options = [])

No description

where(array $selector)

No description

selector(array $selector = null)

No description

select(array $fields)

No description

fields(array $fields = null)

No description

sort(array $sort = null)

No description

skip($skip = null)

No description

use_index(array $use_index = null)

No description

limit($limit = null)

No description

asArray()

No description

jsonSerialize()

No description

Details

__construct(array $selector = [], array $options = [])

Parameters

array $selector
array $options

where(array $selector)

Parameters

array $selector

selector(array $selector = null)

Parameters

array $selector

select(array $fields)

Parameters

array $fields

fields(array $fields = null)

Parameters

array $fields

sort(array $sort = null)

Parameters

array $sort

skip($skip = null)

Parameters

$skip

use_index(array $use_index = null)

Parameters

array $use_index

limit($limit = null)

Parameters

$limit

asArray()

jsonSerialize()