Property | Type | Description | |
---|---|---|---|
$client |
Method | Description | |
---|---|---|
__construct ( $server, $options = [] ) | ||
count ( $collection, $filter = [] ) | ||
find ( $collection, $options = [] ) | ||
findOne ( $collection, $filter = [], $projection = null ) | ||
findOneById ( $collection, $id ) | ||
getCollection ( $name, $db = null ) | ||
insert ( $collection, &$doc ) | ||
remove ( $collection, $filter = [] ) | ||
save ( $collection, &$data ) | ||
update ( $collection, $criteria, $data ) |