18 lines
463 B
Plaintext
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");
|