Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit 77d6059

Browse files
committed
fix(multiple-files): being able to use multiple files with sqlite
1 parent efb53ae commit 77d6059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class QuickDB<D = any> {
3131
constructor(options: IQuickDBOptions = {}) {
3232
options.table ??= "json";
3333
options.filePath ??= "json.sqlite";
34-
options.driver ??= SqliteDriver.createSingleton(options.filePath);
34+
options.driver ??= new SqliteDriver(options.filePath);
3535
options.normalKeys ??= false;
3636

3737
this.options = options;

0 commit comments

Comments
 (0)