50 $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)
51 ->getQueryBuilderForTable($tableName);
53 $string = ($this->value & self::LEFT ?
'%' :
'')
54 . $queryBuilder->escapeLikeWildcards($likeValue)
55 . ($this->value & self::RIGHT ?
'%' :
'');
57 return $queryBuilder->expr()->like($fieldName, $queryBuilder->quote($string));