MongoCollection::find
MongoCollection::getDBRef
MongoCollection
PHP Manual

# MongoCollection::findOne

(PECL mongo >=0.9.0)

MongoCollection::findOne — Querys this collection, returning a single element

### Descripción

public array MongoCollection::findOne ([ array `$query`= array() ] )

### Lista de parámetros

`query`

  The fields for which to search.

### Valores retornados

Returns record matching the search or `NULL`.

MongoCollection::find
MongoCollection::getDBRef
MongoCollection
PHP Manual