Electron100 / butane

An ORM for Rust with a focus on simplicity and on writing Rust, not SQL
Apache License 2.0
94 stars 13 forks source link

WIP: Auto-save ForeignKey values #118

Closed jayvdb closed 5 months ago

jayvdb commented 1 year ago

Builds on top of https://github.com/Electron100/butane/pull/113, and has all the same TODO as described in that PR

jayvdb commented 11 months ago

fyi, now .saved is gone, I will re-work this PR to create a separate method to recursively/deeply save.

jayvdb commented 5 months ago

As https://github.com/Electron100/butane/pull/113 isnt possible, automating the save of only fkeys would be counter-intuitive and hard to explain.