@minatojs/driver-mysql
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -491,3 +491,5 @@ "use strict"; | ||
}))]; | ||
const updateFields = (0, import_cosmokit.difference)(dataFields, keys); | ||
let updateFields = (0, import_cosmokit.difference)(dataFields, keys); | ||
if (!updateFields.length) | ||
updateFields = [dataFields[0]]; | ||
const createFilter = /* @__PURE__ */ __name((item) => builder.parseQuery((0, import_cosmokit.pick)(item, keys)), "createFilter"); | ||
@@ -494,0 +496,0 @@ const createMultiFilter = /* @__PURE__ */ __name((items) => { |
{ | ||
"name": "@minatojs/driver-mysql", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"description": "MySQL Driver for Minato", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -499,3 +499,4 @@ import { createPool, format } from '@vlasky/mysql' | ||
}))] | ||
const updateFields = difference(dataFields, keys) | ||
let updateFields = difference(dataFields, keys) | ||
if (!updateFields.length) updateFields = [dataFields[0]] | ||
@@ -502,0 +503,0 @@ const createFilter = (item: any) => builder.parseQuery(pick(item, keys)) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54580
1067