PHP Class MongoHybrid\Mongo

Afficher le fichier Open project: sjardim/Hugopit

Protected Properties

Свойство Type Description
$client
$options

Méthodes publiques

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 )

Method Details

__construct() public méthode

public __construct ( $server, $options = [] )

count() public méthode

public count ( $collection, $filter = [] )

find() public méthode

public find ( $collection, $options = [] )

findOne() public méthode

public findOne ( $collection, $filter = [], $projection = [] )

findOneById() public méthode

public findOneById ( $collection, $id )

getCollection() public méthode

public getCollection ( $name, $db = null )

insert() public méthode

public insert ( $collection, &$doc )

remove() public méthode

public remove ( $collection, $filter = [] )

save() public méthode

public save ( $collection, &$data )

update() public méthode

public update ( $collection, $criteria, $data )

Property Details

$client protected_oe property

protected $client

$options protected_oe property

protected $options