initNodeSqliteSqlDriver

suspend fun initNodeSqliteSqlDriver(filename: String, schema: SqlSchema<QueryResult.AsyncValue<Unit>>? = null, beginImmediate: Boolean = false, readers: Int = 0): SQLiteDriver

Opens filename with the node:sqlite module built into Node.js 24 and newer, in its own worker thread.

Parameters

schema

created right after opening when given

beginImmediate

start transactions with BEGIN IMMEDIATE

readers

extra connections for SELECT queries outside transactions, each in its own worker thread, so reads run in parallel; switches the database to WAL, needs a database file; since 1.1.0