rmp135 / sql-ts

Generate TypeScript interfaces from a SQL database.
MIT License
477 stars 65 forks source link

Add columnSortOrder: origin for MySQL8.0 #134

Closed zydmayday closed 1 year ago

zydmayday commented 1 year ago

Since MySQL8.0, it does not return column with ordinal position but alphabetical order as default. So here is a PR to support origin sort.

rmp135 commented 1 year ago

Appreciate the pull request. Because this merge request contains a couple of unrelated commits I'm not going to merge it as is, but I will apply the fix, and mention you in the release notes. Thanks again.