Data source.
Method/property | Description |
---|---|
select($filter, $fields = array(), $order = array(), $options = array()) | Return data from data some |
selectCount($filter, $fields = array(), $order = array(), $options = array()) | Return amount of data from data source |
Method/property | Description |
---|---|
$filter | MongoDB filtering syntax must be used. |
$fields | List of fields to return. By default all data set fields will be returned. |
$order | Sort order. For example:array('field_name1' => 1, 'field_name2' => -1) means sort by field_name1 ascending, field_name2 descending |
$options |
Possible values are:skip - How many records to skip from the beginning of data setlimit - How many records to return with select statement |