kurtbuilds / ormlite

An ORM in Rust for developers that love SQL.
https://crates.io/crates/ormlite
MIT License
216 stars 11 forks source link

cli "reflect" command #31

Open franklx opened 1 year ago

franklx commented 1 year ago

This PR contains a first working implementation of Models struct code-generation by using live database reflection. Caveats:

kurtbuilds commented 1 year ago

Wow! This is super cool.

I previously was using a very similar workflow using ChatGPT when I was migrating a django app from Python to Rust in my last professional role.

Can I email you about the work you're doing? Very curious to hear what and how you're using this. (My email is in my profile if you're not comfortable sharing publicly.)