MongoGridFS::find

(PECL mongo >=0.9.0)

MongoGridFS::findQueries for files

Description

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

Parameters

query

The query.

fields

Fields to return.

Return Values

A MongoGridFSCursor.