PHP Class MongoHybrid\MongoLite

Mostra file Open project: sjardim/Hugopit

Protected Properties

Property Type Description
$client

Public Methods

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 )

Method Details

__construct() public method

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

count() public method

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

find() public method

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

findOne() public method

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

findOneById() public method

public findOneById ( $collection, $id )

getCollection() public method

public getCollection ( $name, $db = null )

insert() public method

public insert ( $collection, &$doc )

remove() public method

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

save() public method

public save ( $collection, &$data )

update() public method

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

Property Details

$client protected_oe property

protected $client