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]

Opis

public array Mongo::lastError ( void )

Use MongoDB::lastError() instead.

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

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


Mongo
PHP Manual