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

Commit

Permalink
Merge pull request #310 from plexidev/fix/multiple-files
Browse files Browse the repository at this point in the history
Fix/multiple files
  • Loading branch information
Zelak312 authored Apr 14, 2023
2 parents efb53ae + 2e7eac8 commit 64370ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quick.db",
"version": "9.1.4",
"version": "9.1.5",
"description": "An easy, non-locking, persistent better-sqlite3 wrapper designed to be easy to setup & utilize",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class QuickDB<D = any> {
constructor(options: IQuickDBOptions = {}) {
options.table ??= "json";
options.filePath ??= "json.sqlite";
options.driver ??= SqliteDriver.createSingleton(options.filePath);
options.driver ??= new SqliteDriver(options.filePath);
options.normalKeys ??= false;

this.options = options;
Expand Down

0 comments on commit 64370ec

Please sign in to comment.