PHP Class MongoHybrid\Mongo

ファイルを表示 Open project: sjardim/Hugopit

Protected Properties

Property Type Description
$client
$options

Public Methods

Method 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 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 = [] )

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

$options protected_oe property

protected $options