Arrays, not strings as the documentation states, are returned by lastError.
Mongo::lastError
(No version information available, might only be in SVN)
Mongo::lastError — Check if there was an error on the most recent db operation performed [deprecated]
Parameters
This function has no parameters.
Return Values
Returns the error, if there was one, or NULL.
Mongo::lastError
Alexander
02-Jul-2009 11:35
02-Jul-2009 11:35
