@@ 211-214 (lines=4) @@ | ||
208 | $this->queryBuilder->setParameter('var_' . $uniqueId, $textValue); |
|
209 | ||
210 | break; |
|
211 | case 'contains': |
|
212 | $expr = $this->queryBuilder->expr()->like('t_' . $locale . '.`text`', ':var_' . $uniqueId); |
|
213 | $this->queryBuilder->setParameter('var_' . $uniqueId, '%' . $textValue . '%'); |
|
214 | ||
215 | break; |
|
216 | case 'doesnotcontain': |
|
217 | $expr = 't_' . $locale . '.`text`' . ' NOT LIKE :var_' . $uniqueId; |
|
@@ 216-219 (lines=4) @@ | ||
213 | $this->queryBuilder->setParameter('var_' . $uniqueId, '%' . $textValue . '%'); |
|
214 | ||
215 | break; |
|
216 | case 'doesnotcontain': |
|
217 | $expr = 't_' . $locale . '.`text`' . ' NOT LIKE :var_' . $uniqueId; |
|
218 | $this->queryBuilder->setParameter('var_' . $uniqueId, '%' . $textValue . '%'); |
|
219 | ||
220 | break; |
|
221 | case 'startswith': |
|
222 | $expr = $this->queryBuilder->expr()->like('t_' . $locale . '.`text`', ':var_' . $uniqueId); |