using ilike instead of like for postgres

This commit is contained in:
Jan Prochazka
2021-06-24 11:49:02 +02:00
parent b99e3ed177
commit 989574bb52
3 changed files with 3 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ export function dumpSqlCondition(dmp: SqlDumper, condition: Condition) {
break;
case 'like':
dumpSqlExpression(dmp, condition.left);
dmp.put(' ^like ');
dmp.put(dmp.dialect.ilike ? ' ^ilike ' : ' ^like ');
dumpSqlExpression(dmp, condition.right);
break;
case 'notLike':