MongoGridFS
PHP Manual

MongoGridFS::findOne

(PECL mongo >=0.9.0)

MongoGridFS::findOneReturns a single file matching the criteria

설명

public MongoGridFSFile MongoGridFS::findOne ([ mixed $query= array() ] )

인수

query

The filename or criteria for which to search.

반환값

Returns a file or NULL.


MongoGridFS
PHP Manual