RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.
MIT License
690 stars 62 forks source link

Support `dateStrings` option #154

Open mnpenner opened 1 month ago

mnpenner commented 1 month 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