ormlite
ormlite copied to clipboard
cli "reflect" command
This PR contains a first working implementation of Model
s struct code-generation by using live database reflection.
Caveats:
- Uses my
KVec
implementation for one-to-many relations (not yet in repo); - It's
postgresql
-only for now; - It's usable but incomplete (see
TODO
comment inreflect.rs
); - It shouldn't be merged until
KVec
will be in repo (I'll open a dedicated PR);
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.)