Jaymon / prom

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

Add default option to schema property definitions. #5

Closed jaridmargolin closed 6 years ago

jaridmargolin commented 9 years ago

Would like to get thoughts on python vs native PostgreSQL implementation.

Jaymon commented 6 years ago

when an orm is created, it should set defaults for any values that aren't passed in, including values that weren't passed in, any values should be marked as modified

when an orm is pulled from the db it should iset all the values, nothing should be considered modified

when an orm is modified, just the passed in values should be modified and it should consider those modified

hydrate dehydrate rehydrate populate