RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.
MIT License
820 stars 73 forks source link

Support `dateStrings` option #154

Open mnpenner opened 6 months ago

mnpenner commented 6 months ago

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

Fund with Polar