File tree 5 files changed +5
-1
lines changed
dialect-sqlite-worker/src
dialect-wasqlite-worker/src
5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ bun install kysely kysely-bun-worker
15
15
``` ts
16
16
import { BunWorkerDialect } from ' kysely-bun-worker'
17
17
18
- const dialect = new SqliteWorkerDialect ({
18
+ const dialect = new BunWorkerDialect ({
19
19
url: ' :memory:' ,
20
20
})
21
21
```
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import type { BunWorkerDialectConfig } from './type'
3
3
import { SqliteAdapter , SqliteIntrospector , SqliteQueryCompiler } from 'kysely'
4
4
import { BunWorkerDriver } from './driver'
5
5
6
+ export type { BunWorkerDialectConfig , Promisable } from './type'
6
7
export { createOnMessageCallback } from './worker/utils'
7
8
8
9
export class BunWorkerDialect implements Dialect {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import type { SqliteWorkerDialectConfig } from './type'
3
3
import { SqliteAdapter , SqliteIntrospector , SqliteQueryCompiler } from 'kysely'
4
4
import { SqliteWorkerDriver } from './driver'
5
5
6
+ export type { Promisable , SqliteWorkerDialectConfig } from './type'
6
7
export { createOnMessageCallback } from './worker/util'
7
8
8
9
export class SqliteWorkerDialect implements Dialect {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import type { TauriSqliteDialectConfig } from './type'
3
3
import { SqliteAdapter , SqliteIntrospector , SqliteQueryCompiler } from 'kysely'
4
4
import { TauriSqliteDriver } from './driver'
5
5
6
+ export type { TauriSqliteDialectConfig } from './type'
6
7
/**
7
8
* https://github.com/tauri-apps/plugins-workspace/tree/dev/plugins/sql
8
9
*/
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import type { WaSqliteWorkerDialectConfig } from './type'
3
3
import { SqliteAdapter , SqliteIntrospector , SqliteQueryCompiler } from 'kysely'
4
4
import { WaSqliteWorkerDriver } from './driver'
5
5
6
+ export type { Promisable , WaSqliteWorkerDialectConfig } from './type'
6
7
export { createOnMessageCallback } from './worker/utils'
7
8
8
9
export {
You can’t perform that action at this time.
0 commit comments