addManyToManySelect example

continue;
            }

            // add sub select for many to many field             if ($field instanceof ManyToManyAssociationField) {
                if ($this->isAssociationRestricted($criteria$field->getPropertyName())) {
                    continue;
                }

                // requested a paginated, filtered or sorted list
                $this->addManyToManySelect($definition$root$field$query$context);

                continue;
            }

            // other associations like OneToManyAssociationField fetched lazy by additional query             if ($field instanceof AssociationField) {
                continue;
            }

            if ($parentAssociation !== null
                && $field instanceof StorageAware
                
Home | Imprint | This part of the site doesn't use cookies.