Closed Jaymon closed 8 years ago
set the field to return None if there is no value set for the field, this will allow me to remove hydrate
populate() should do iget()
add another class method to the orm that is the opposite of populate, the query insert and update will call this classmethod and pass in the fields, basically move Query._get_interface_fields() to the Orm, so that way the iset and iget methods are all accessed from the orm
They should act similar to
fget
andfset
methods but be fired when the field is about to be written to the db and read from the db.the dbset method:
The dbget method: