Mongo
PHP Manual

Mongo::lastError

(No version information available, might only be in SVN)

Mongo::lastErrorCheck if there was an error on the most recent db operation performed [deprecated]

Descrição

public array Mongo::lastError ( void )

Use MongoDB::lastError() instead.

Parâmetros

Esta função não contém parâmetros.

Valor Retornado

Returns the error, if there was one, or NULL.


Mongo
PHP Manual