Свойство | Type | Description | |
---|---|---|---|
$client | |||
$options |
Méthode | Description | |
---|---|---|
__construct ( $server, $options = [] ) | ||
count ( $collection, $filter = [] ) | ||
find ( $collection, $options = [] ) | ||
findOne ( $collection, $filter = [], $projection = [] ) | ||
findOneById ( $collection, $id ) | ||
getCollection ( $name, $db = null ) | ||
insert ( $collection, &$doc ) | ||
remove ( $collection, $filter = [] ) | ||
save ( $collection, &$data ) | ||
update ( $collection, $criteria, $data ) |