cleanup, docs
This commit is contained in:
@@ -14,4 +14,7 @@ Closes an SQLite connection and deletes the UCE connection wrapper.
|
||||
UCE also cleans up SQLite connections that remain open at request end, but explicit disconnects keep resource lifetime local and clear.
|
||||
|
||||
:example
|
||||
print("sqlite_disconnect is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
SQLite* db = sqlite_connect("/tmp/doc-sqlite-disc.db");
|
||||
sqlite_query(db, "create table if not exists t(id integer)");
|
||||
sqlite_disconnect(db);
|
||||
print("connection closed\n");
|
||||
|
||||
Reference in New Issue
Block a user