Fixed UUID filtering in lsqp #538

This commit is contained in:
Jan Prochazka
2024-07-25 10:59:43 +02:00
parent be6e0f3bc8
commit 15d99f98f8
3 changed files with 28 additions and 1 deletions

View File

@@ -99,6 +99,19 @@ const dialect = {
],
};
}
if (dataType?.toLowerCase() == 'uuid') {
return {
exprType: 'unaryRaw',
expr: {
exprType: 'column',
alias: alias || columnName,
source,
columnName,
},
afterSql: '::text',
};
}
},
};