MongoGridFS::find

(PECL mongo >=0.9.0)

MongoGridFS::findQueries for files

Description

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

Parameters

query

The query.

fields

Fields to return.

Return Values

A MongoGridFSCursor.