SQLite3::lastErrorCode
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SQLite3::lastErrorCode — Returns the numeric result code of the most recent failed SQLite request
Description
Returns the numeric result code of the most recent failed SQLite request.
Parameters
This function has no parameters.
Return Values
Returns an integer value representing the numeric result code of the most recent failed SQLite request.
See Also
- SQLite3::lastExtendedErrorCode() - Returns the numeric extended result code of the most recent failed SQLite request
- SQLite3::enableExtendedResultCodes() - Enables or disables the use of extended result codes
- SQLite3::lastErrorMsg() - Returns English text describing the most recent failed SQLite request
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
