drizzle ORM casting enum into text does not work using PostgresJS driver #2373
Replies: 1 comment 1 reply
-
.. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a function like this where
eg_status
hasenum
type in postgres:I though that sql
cast(${evergreen.eg_status} as text) ilike ${sql.placeholder('search')} would do the job and cast
eg_statusinto text so i can use
ilike` but no, I get this error:Beta Was this translation helpful? Give feedback.
All reactions