prisma-client-php 4.1.1 → 4.1.2
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.
|
@@ -764,7 +764,7 @@ final class PPHPUtility
|
|
|
764
764
|
? $pathPrefix . '.' . $relationName
|
|
765
765
|
: $relationName;
|
|
766
766
|
|
|
767
|
-
$fieldsOnly = $relatedClass->
|
|
767
|
+
$fieldsOnly = $relatedClass->_fieldsOnly ?? [];
|
|
768
768
|
foreach ($fieldsOnly as $field) {
|
|
769
769
|
$quotedField = PPHPUtility::quoteColumnName($dbType, $field);
|
|
770
770
|
$columnAlias = $childPathPrefix . '.' . $field; // e.g. "post.categories.id"
|
package/package.json
CHANGED