You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the following query for dynamic sorting.
SELECT * FROM tenant ORDER BY ??column DESC
{ column: 'industry' }
I get the following error though.
BadRequestException: ERROR: operator does not exist: ` character varying
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
I found out this is because the escapeId escapes these identifiers as column and postgres does not support backticks. From postgres's website:
MySQL uses ` (accent mark or backtick) to quote system identifiers, which is decidedly non-standard.
Can the ID_GLOBAL_REGEXP constant be configurable?
The text was updated successfully, but these errors were encountered:
I'm trying to run the following query for dynamic sorting.
I get the following error though.
I found out this is because the escapeId escapes these identifiers as
column
and postgres does not support backticks. From postgres's website:MySQL uses ` (accent mark or backtick) to quote system identifiers, which is decidedly non-standard.
Can the ID_GLOBAL_REGEXP constant be configurable?
The text was updated successfully, but these errors were encountered: