src/Bridge/Doctrine/Orm/Filter/BooleanFilter.php 1 location
|
@@ 95-97 (lines=3) @@
|
92 |
|
$alias = 'o'; |
93 |
|
$field = $property; |
94 |
|
|
95 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
96 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
97 |
|
} |
98 |
|
|
99 |
|
$valueParameter = $queryNameGenerator->generateParameterName($field); |
100 |
|
|
src/Bridge/Doctrine/Orm/Filter/NumericFilter.php 1 location
|
@@ 120-122 (lines=3) @@
|
117 |
|
$alias = 'o'; |
118 |
|
$field = $property; |
119 |
|
|
120 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
121 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
122 |
|
} |
123 |
|
$valueParameter = $queryNameGenerator->generateParameterName($field); |
124 |
|
|
125 |
|
$queryBuilder |
src/Bridge/Doctrine/Orm/Filter/OrderFilter.php 1 location
|
@@ 125-127 (lines=3) @@
|
122 |
|
$alias = 'o'; |
123 |
|
$field = $property; |
124 |
|
|
125 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
126 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
127 |
|
} |
128 |
|
|
129 |
|
if (null !== $nullsComparison = $this->properties[$property]['nulls_comparison'] ?? null) { |
130 |
|
$nullsDirection = self::NULLS_DIRECTION_MAP[$nullsComparison][$direction]; |
src/Bridge/Doctrine/Orm/Filter/RangeFilter.php 1 location
|
@@ 76-78 (lines=3) @@
|
73 |
|
$alias = 'o'; |
74 |
|
$field = $property; |
75 |
|
|
76 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
77 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
78 |
|
} |
79 |
|
|
80 |
|
foreach ($values as $operator => $value) { |
81 |
|
$this->addWhere( |
src/Bridge/Doctrine/Orm/Filter/ExistsFilter.php 1 location
|
@@ 98-100 (lines=3) @@
|
95 |
|
$alias = 'o'; |
96 |
|
$field = $property; |
97 |
|
|
98 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
99 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
100 |
|
} |
101 |
|
|
102 |
|
$propertyParts = $this->splitPropertyParts($property, $resourceClass); |
103 |
|
$metadata = $this->getNestedMetadata($resourceClass, $propertyParts['associations']); |
src/Bridge/Doctrine/Orm/Filter/DateFilter.php 1 location
|
@@ 85-87 (lines=3) @@
|
82 |
|
$alias = 'o'; |
83 |
|
$field = $property; |
84 |
|
|
85 |
|
if ($this->isPropertyNested($property, $resourceClass)) { |
86 |
|
list($alias, $field) = $this->addJoinsForNestedProperty($property, $alias, $queryBuilder, $queryNameGenerator, $resourceClass); |
87 |
|
} |
88 |
|
|
89 |
|
$nullManagement = $this->properties[$property] ?? null; |
90 |
|
|