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

search for in the

MongoDB::repair> <MongoDB::listCollections
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoDB::prevError

(PECL mongo >=0.9.5)

MongoDB::prevErrorデータベース操作中の直近に発生したエラーを調べる

説明

public array MongoDB::prevError ( void )

MongoDB::lastError() のほうが通常はおすすめです。 このメソッドは、直近に発生したデータベースエラーと、 それが何回前の操作で発生したのかを返します。廃止予定です。

パラメータ

この関数にはパラメータはありません。

返り値

エラーと、それが何回前の操作で発生したかを返します。



add a note add a note User Contributed Notes MongoDB::prevError
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites