0.6.1 • Published 3 days ago
kysely-sqlite-worker v0.6.1
kysely-sqlite-worker
kysely dialect for better-sqlite, execute sql in node:worker_threads
the type is also availiable for better-sqlite3-multiple-ciphers
Install
pnpm add kysely kysely-sqlite-worker better-sqlite3
Config
export type SqliteWorkerDialectConfig = {
/**
* db file path or existing buffer
*/
source: string | Buffer | (() => Promisable<string | Buffer>)
/**
* better-sqlite3 initiate option
*/
option?: Options
onCreateConnection?: (connection: DatabaseConnection) => Promisable<void>
}
Notice
the worker script is read from join(__dirname, 'worker.js')
by default, you can customize the path
0.6.1
3 days ago
0.6.0
2 months ago
0.5.7
3 months ago
0.5.6
4 months ago
0.5.4
5 months ago
0.5.3
6 months ago
0.5.2
6 months ago
0.5.1
6 months ago
0.5.0
6 months ago
0.4.5
7 months ago
0.4.4
7 months ago
0.4.7
6 months ago
0.4.6
6 months ago
0.4.0
8 months ago
0.4.3
8 months ago
0.4.2
8 months ago
0.3.8
10 months ago
0.3.7
10 months ago
0.3.6
10 months ago
0.3.5
10 months ago
0.3.4
11 months ago
0.3.3
11 months ago
0.3.2
11 months ago
0.3.1
11 months ago
0.3.0
11 months ago