uce/site/doc/pages/sqlite_disconnect.txt
2026-06-16 12:21:31 +00:00

18 lines
463 B
Plaintext

:sig
void sqlite_disconnect(SQLite* db)
:params
db : pointer to an active SQLite connection
:see
>sqlite
sqlite_connect
:content
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");