prisma-client-php 0.0.54 → 2.0.0
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.
|
@@ -1169,6 +1169,10 @@ final class PPHPUtility
|
|
|
1169
1169
|
$baseQuery['where'][$childFk] = ['in' => $parentIds];
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
|
+
if (isset($baseQuery['select']) && $baseQuery['select'] !== []) {
|
|
1173
|
+
$baseQuery['select'][$childFk] = true;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1172
1176
|
$rows = $relatedInstance->findMany($baseQuery);
|
|
1173
1177
|
|
|
1174
1178
|
$grouped = [];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma-client-php",
|
|
3
3
|
"description": "Prisma Client PHP is an auto-generated query builder that enables type-safe database access in PHP.",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|
|
12
|
-
"ppo": "
|
|
12
|
+
"ppo": "dist/index.js"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|