downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Mongo::pairConnect> <Mongo::forceError
Last updated: Fri, 20 Nov 2009

view this page in

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]

Description

public array Mongo::lastError ( void )

Use MongoDB::lastError() instead.

Parameters

This function has no parameters.

Return Values

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



add a note add a note User Contributed Notes
Mongo::lastError
Alexander
02-Jul-2009 11:35
Arrays, not strings as the documentation states, are returned by lastError.

Mongo::pairConnect> <Mongo::forceError
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites