diff --git a/package-lock.json b/package-lock.json index 99712db3..7612500f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pg-mem", - "version": "2.8.0", + "version": "2.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pg-mem", - "version": "2.8.0", + "version": "2.8.1", "license": "MIT", "dependencies": { "functional-red-black-tree": "^1.0.1", diff --git a/package.json b/package.json index 7f36a8c5..325fa9f0 100644 --- a/package.json +++ b/package.json @@ -153,4 +153,4 @@ "instrument": false, "sourceMap": false } -} \ No newline at end of file +} diff --git a/src/adapters/adapters.ts b/src/adapters/adapters.ts index a43422e8..303b1c23 100644 --- a/src/adapters/adapters.ts +++ b/src/adapters/adapters.ts @@ -157,7 +157,7 @@ export class Adapters implements LibAdapters { }; } else { // clean copy to avoid mutating things outside our scope - query = { ...query }; + query = { ...query, values: query.values || values }; } if (!query.values?.length) { return query;