MongoGridFS
PHP Manual

MongoGridFS::find

(PECL mongo >=0.9.0)

MongoGridFS::findQueries for files

说明

public MongoGridFSCursor MongoGridFS::find ([ array $query = array() [, array $fields = array() ]] )

参数

query

The query.

fields

Fields to return.

返回值

A MongoGridFSCursor.


MongoGridFS
PHP Manual