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
Kysley MysqlDialect / createPool from mysql2 has a dateStrings option which returns MySQL TIMESTAMPs, DATETIMEs and DATEs as strings instead of JS Date dates.
Can we get an option for kysley-codegen to output string instead of Date so that the type definitions match what's returned?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
@RobinBlomberg any update on this? I feel like this could be another parser type like dateParser. I would love for this to be an option for postgres TIMESTAMP and TIMESTAMPTZ types too. That would mean adding options to the MySQL Adapter though
Kysley MysqlDialect / createPool from mysql2 has a
dateStrings
option which returns MySQLTIMESTAMP
s,DATETIME
s andDATE
s as strings instead of JSDate
dates.Can we get an option for kysley-codegen to output
string
instead ofDate
so that the type definitions match what's returned?Upvote & Fund
The text was updated successfully, but these errors were encountered: