diff --git a/reference/sqlite3/sqlite3.xml b/reference/sqlite3/sqlite3.xml
index d4654746e23c..afb39489a91d 100644
--- a/reference/sqlite3/sqlite3.xml
+++ b/reference/sqlite3/sqlite3.xml
@@ -267,21 +267,29 @@
SQLite3::OK
-
+
+ Returned from an authorizer callback to allow the action.
+
SQLite3::DENY
-
+
+ Returned from an authorizer callback to abort the SQL statement with an
+ error.
+
SQLite3::IGNORE
-
+
+ Returned from an authorizer callback to disallow the specific action,
+ treating it as a no-op rather than an error.
+
diff --git a/reference/sqlite3/sqlite3/enableextendedresultcodes.xml b/reference/sqlite3/sqlite3/enableextendedresultcodes.xml
new file mode 100644
index 000000000000..7bd2f325ee6f
--- /dev/null
+++ b/reference/sqlite3/sqlite3/enableextendedresultcodes.xml
@@ -0,0 +1,72 @@
+
+
+
+ SQLite3::enableExtendedResultCodes
+
+ Enables or disables the use of extended result codes
+
+
+
+
+ &reftitle.description;
+
+ public boolSQLite3::enableExtendedResultCodes
+ boolenable&true;
+
+
+ Enables or disables the use of extended result codes, which are then
+ reported by SQLite3::lastExtendedErrorCode.
+
+
+
+
+ &reftitle.parameters;
+
+
+ enable
+
+
+ Whether to enable (&true;) or disable (&false;) the use of extended
+ result codes.
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Returns &true; on success or &false; on failure.
+
+
+
+
+ &reftitle.seealso;
+
+ SQLite3::lastExtendedErrorCode
+ SQLite3::lastErrorCode
+
+
+
+
+
diff --git a/reference/sqlite3/sqlite3/lastextendederrorcode.xml b/reference/sqlite3/sqlite3/lastextendederrorcode.xml
new file mode 100644
index 000000000000..0a80b9736b0b
--- /dev/null
+++ b/reference/sqlite3/sqlite3/lastextendederrorcode.xml
@@ -0,0 +1,66 @@
+
+
+
+ SQLite3::lastExtendedErrorCode
+
+ Returns the numeric extended result code of the most recent failed SQLite request
+
+
+
+
+ &reftitle.description;
+
+ public intSQLite3::lastExtendedErrorCode
+
+
+
+ Returns the numeric extended result code of the most recent failed SQLite
+ request. Extended result codes must first be enabled with
+ SQLite3::enableExtendedResultCodes; otherwise the
+ primary result code is returned.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns an integer value representing the numeric extended result code of
+ the most recent failed SQLite request.
+
+
+
+
+ &reftitle.seealso;
+
+ SQLite3::enableExtendedResultCodes
+ SQLite3::lastErrorCode
+ SQLite3::lastErrorMsg
+
+
+
+
+
diff --git a/reference/sqlite3/versions.xml b/reference/sqlite3/versions.xml
index bf64ad3d6231..6dbc466635b3 100644
--- a/reference/sqlite3/versions.xml
+++ b/reference/sqlite3/versions.xml
@@ -15,11 +15,13 @@
+
-
+
+