protected isSearchableColumn ( $column ) : boolean | ||
return | boolean | true if column can be used for LIKE searching. |
protected function isSearchableColumn($column)
{
$type = strtolower($column->getDbType());
return $type === 'character varying' || $type === 'varchar' || $type === 'character' || $type === 'char' || $type === 'text';
}