prisma-sql 1.75.2 → 1.75.3

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/index.cjs CHANGED
@@ -1266,7 +1266,7 @@ var expandToSingleFieldEntries = (item) => {
1266
1266
  if (!isPlainObject(item)) {
1267
1267
  throw new Error("orderBy array entries must be objects");
1268
1268
  }
1269
- const entries = Object.entries(item);
1269
+ const entries = Object.entries(item).filter(([, v]) => v !== void 0);
1270
1270
  if (entries.length === 0) {
1271
1271
  throw new Error("orderBy array entries must have at least one field");
1272
1272
  }