@prisma/client-engine-runtime 6.7.0-dev.18 → 6.7.0-dev.19
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.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -684,6 +684,8 @@ function attachChildrenToParent(parentRecord, children) {
|
|
|
684
684
|
function filterChildRecords(records, parentRecord, joinExpr) {
|
|
685
685
|
if (Array.isArray(records)) {
|
|
686
686
|
return records.filter((record) => childRecordMatchesParent(asRecord(record), parentRecord, joinExpr));
|
|
687
|
+
} else if (records === null) {
|
|
688
|
+
return null;
|
|
687
689
|
} else {
|
|
688
690
|
const record = asRecord(records);
|
|
689
691
|
return childRecordMatchesParent(record, parentRecord, joinExpr) ? record : null;
|
package/dist/index.mjs
CHANGED
|
@@ -642,6 +642,8 @@ function attachChildrenToParent(parentRecord, children) {
|
|
|
642
642
|
function filterChildRecords(records, parentRecord, joinExpr) {
|
|
643
643
|
if (Array.isArray(records)) {
|
|
644
644
|
return records.filter((record) => childRecordMatchesParent(asRecord(record), parentRecord, joinExpr));
|
|
645
|
+
} else if (records === null) {
|
|
646
|
+
return null;
|
|
645
647
|
} else {
|
|
646
648
|
const record = asRecord(records);
|
|
647
649
|
return childRecordMatchesParent(record, parentRecord, joinExpr) ? record : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-engine-runtime",
|
|
3
|
-
"version": "6.7.0-dev.
|
|
3
|
+
"version": "6.7.0-dev.19",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"nanoid": "5.1.5",
|
|
31
31
|
"ulid": "3.0.0",
|
|
32
32
|
"uuid": "11.1.0",
|
|
33
|
-
"@prisma/debug": "6.7.0-dev.
|
|
34
|
-
"@prisma/driver-adapter-utils": "6.7.0-dev.
|
|
33
|
+
"@prisma/debug": "6.7.0-dev.19",
|
|
34
|
+
"@prisma/driver-adapter-utils": "6.7.0-dev.19"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/jest": "29.5.14",
|