Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

change modify to something like set_state() or full_modify() #4

Closed Jaymon closed 8 years ago

Jaymon commented 9 years ago

modify is pretty internal right now, but it would be great to have a method similar to the current modify but that only changes fields that are passed in, instead of doing all kinds of wizardry things that the current modify does.

Jaymon commented 8 years ago

so Orm.modify() is now public facing and Orm.hydrate() now handles the heavy backend lifting for populating the Orm instances from the db.