Function: sqlite-close
sqlite-close is a function defined in sqlite.c.
Signature
(sqlite-close DB)
Documentation
Close the sqlite database DB.
Probably introduced at or before Emacs version 31.1.
Source Code
// Defined in /usr/src/emacs/src/sqlite.c
{
/* Do nothing when the connection is already closed.
This aligns with the behavior of 'sqlite3_close' itself. */
if (SQLITE (db) && !XSQLITE (db)->db)
return Qt;
check_sqlite (db, false);
sqlite3_close (XSQLITE (db)->db);
XSQLITE (db)->db = NULL;
return Qt;
}