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