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

Commit 64370ec

Browse files
authored
Merge pull request #310 from plexidev/fix/multiple-files
Fix/multiple files
2 parents efb53ae + 2e7eac8 commit 64370ec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quick.db",
3-
"version": "9.1.4",
3+
"version": "9.1.5",
44
"description": "An easy, non-locking, persistent better-sqlite3 wrapper designed to be easy to setup & utilize",
55
"main": "out/index.js",
66
"types": "out/index.d.ts",

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)