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.
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