kurtbuilds / ormlite

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

Add support for table schema #26

Open skytz opened 1 year ago

skytz commented 1 year ago

What i did:

What's not done:

Would really appreciate a look over the code so far and maybe some help with this? 🙃

kurtbuilds commented 1 year ago

Love it. I'll review sometime this week.

skytz commented 1 year ago

I've made a pull request for sqlmo with the exposed schema fields and updated this repo to use that

I'll write some tests a bit later.

One thing thats really annoying is the formatting, i ran cargo fmt --all and its...a mess. I've made another pull request with only the formatting, and after you merge that, only the changes should show.

kurtbuilds commented 1 year ago

Thanks for these. I responded in the cargo fmt PR you opened. Hopefully that isn't a blocker for this contribution, as it's a welcome addition to the library.

skytz commented 1 year ago

I reverted the formatting. These should be the changes, and only the changes.