class FieldExtractor (View source)

deprecated class was deprecated in 1.2 and will be removed in 2.0

Class responsible for extracting an array of field names that are involved in a given mongodb query. Used for checking if query is indexed.

Methods

__construct(array $query, array $sort = array())

No description

getFields()

No description

Details

__construct(array $query, array $sort = array())

Parameters

array $query
array $sort

getFields()