0.6.0 • Published 1 month ago

kysely-bun-worker v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

kysely-bun-worker

kysely dialect for bun:sqlite, run sql in worker

Install

bun install kysely kysely-bun-worker

Config

export type BunWorkerDialectConfig = {
  /**
   * db file path
   *
   * @default ':memory:'
   */
  url?: string
  onCreateConnection?: (connection: DatabaseConnection) => Promisable<void>
  /**
   * use bun:sqlite's built-in statment cache
   * @see https://bun.sh/docs/api/sqlite#query
   */
  cacheStatment?: boolean
  /**
   * custom worker, default is a worker that use bun:sqlite
   */
  worker?: Worker
}
0.6.0

1 month 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.7

6 months ago

0.4.6

6 months ago

0.4.5

7 months ago

0.4.4

7 months ago

0.4.3

8 months ago

0.4.2

8 months ago

0.4.0

8 months ago