MongoGridFS::find

Queries 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.