-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Condition with Date as input in sql template fails #2009
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
drizzle-orm
are you using?0.30.1
Describe the Bug
With a column
using a where condition like
we see the following error:
Changing the the timestamp mode to
string
ordate
has not effect.The only workaround is to convert the date to string when inserting in the where condition:
This issue did not occur in
0.29.3
and below.Expected behavior
The
Date
object should be accepted as input in the where clause.Environment & setup
Postgres
The text was updated successfully, but these errors were encountered: