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
When making select queries, in where statements if there is a clause that
includes a timestamp field(with timestamps with mode:string), you get an error like
ERROR: operator does not exist: timestamp without time zone >= text; Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
This is because the data api is treating the string timestamp as a text not a string.
So in code like:
What version of
drizzle-orm
are you using?0.29.3
What version of
drizzle-kit
are you using?0.19.13
Describe the Bug
in queries
When making select queries, in where statements if there is a clause that
includes a timestamp field(with timestamps with mode:string), you get an error like
ERROR: operator does not exist: timestamp without time zone >= text; Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
This is because the data api is treating the string timestamp as a text not a string.
So in code like:
The select statement doesn't work
Expected behavior
The query should work
Environment & setup
No response
The text was updated successfully, but these errors were encountered: