prisma-client-php 0.0.25 → 0.0.26

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.
@@ -230,6 +230,11 @@ final class PPHPUtility
230
230
  continue;
231
231
  }
232
232
 
233
+ if ($key === '_count' && is_array($value) && array_key_exists('select', $value)) {
234
+ $includes[$key] = $value;
235
+ continue;
236
+ }
237
+
233
238
  self::processIncludeValue($key, $value, $relatedEntityFields, $fields, $modelName, $key);
234
239
 
235
240
  if (is_numeric($key) && is_string($value)) {
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.25",
4
+ "version": "0.0.26",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {