MongoGridFS::find

(PECL mongo >=0.9.0)

MongoGridFS::findQueries for files

说明

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

参数

query

The query.

fields

Fields to return.

返回值

A MongoGridFSCursor.