cleanup, docs

This commit is contained in:
root
2026-06-16 23:02:45 +00:00
parent ea08d5f28b
commit b8b56cf3dd
160 changed files with 1076 additions and 511 deletions
+4 -1
View File
@@ -15,4 +15,7 @@ Returns the latest SQLite connector status or error message.
Successful calls usually set the message to `ok` or `connected`. Failed prepare, bind, step, pragma, or open operations include connector context plus SQLite's own error text.
:example
print("sqlite_error is resource-bound; configure the service or connection, then call it in request code.\n");
SQLite* db = sqlite_connect("/tmp/doc-sqlite-error.db");
sqlite_query(db, "select * from no_such_table");
print(sqlite_error(db) != "" ? "error reported" : "no error", "\n");
sqlite_disconnect(db);