prisma-sql 1.75.2 → 1.75.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generator.cjs +9 -8
- package/dist/generator.cjs.map +1 -1
- package/dist/generator.js +9 -8
- package/dist/generator.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1264,7 +1264,7 @@ var expandToSingleFieldEntries = (item) => {
|
|
|
1264
1264
|
if (!isPlainObject(item)) {
|
|
1265
1265
|
throw new Error("orderBy array entries must be objects");
|
|
1266
1266
|
}
|
|
1267
|
-
const entries = Object.entries(item);
|
|
1267
|
+
const entries = Object.entries(item).filter(([, v]) => v !== void 0);
|
|
1268
1268
|
if (entries.length === 0) {
|
|
1269
1269
|
throw new Error("orderBy array entries must have at least one field");
|
|
1270
1270
|
}
|