From 2b0310d7b1e9ba92988cc82d21cd50980236a305 Mon Sep 17 00:00:00 2001 From: Ujjwal Gupta Date: Sat, 19 Jun 2021 10:21:51 +0530 Subject: [PATCH] release v-4.2.4 --- package.json | 2 +- src/worker/query_manager.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f863433e..ebb57107 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsstore", - "version": "4.2.3", + "version": "4.2.4", "description": "A complete IndexedDB wrapper with SQL like syntax.", "main": "dist/npm.export.js", "types": "dist/ts/main/index.d.ts", diff --git a/src/worker/query_manager.ts b/src/worker/query_manager.ts index 1d09feb2..0c78af9a 100644 --- a/src/worker/query_manager.ts +++ b/src/worker/query_manager.ts @@ -270,8 +270,8 @@ export class QueryManager { if (value) { value.tables.forEach((table, index) => { dbMeta.tables[index].autoIncColumnValue = - table.autoIncColumnValue - }) + table.autoIncColumnValue; + }); } this.db = dbMeta; dbInfo.database = userDbSchema(this.db);