class

Database

Inherits Reference < Object

The Database class contains various operations for interacting with the SQLite database.

Constructors

new(path : String)

Creates a new Database instance.

Source

Instance methods

execOnDb(query : String, args : Array)

Execute a query on the database.

Source
queryAllDb(query : String, args : NamedTuple)

Sends a query to the database that returns all matching rows.

Source
queryDb(query : String, *args_)

Sends a query to the database.

Source
queryOneDb(query : String, *args, fields : NamedTuple)

Execute a query that returns a single row.

Source