mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
Fixed UUID filtering in lsqp #538
This commit is contained in:
@@ -99,6 +99,19 @@ const dialect = {
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
if (dataType?.toLowerCase() == 'uuid') {
|
||||
return {
|
||||
exprType: 'unaryRaw',
|
||||
expr: {
|
||||
exprType: 'column',
|
||||
alias: alias || columnName,
|
||||
source,
|
||||
columnName,
|
||||
},
|
||||
afterSql: '::text',
|
||||
};
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user