sqlite3.open_memory

Opens a database in memory

Prototype

sqlite3.open_memory()

Description

Opens an SQLite database in memory and returns its handle as userdata. In case of an error, the function returns nil, an error code and an error message. (In-memory databases are volatile as they are never stored on disk.)

Lua functions

Topics