You can use in-:memory: Database by using the string
":memory:"Database:constructor(file)constructor
The Database constructor returns a Database value representing a SQLite database.
Parameters
file
A string or a File representing an SQLite database.
Return value
The constructor returns a new Database instance.Example
--! luart-extensions
import sqlite
-- Create an in-:memory: database
local db = sqlite.Database(":memory:")