db:close

Closes a database

Prototype

db:close()

Description

Closes a database. All SQL statements prepared using db:prepare() should have been finalized before this function is called. The function returns sqlite3.OK on success or else a numerical error code (see the list of Numerical error and result codes).

Lua functions

Topics