dbbase.model.Model.save

Model.save()[source]

This function saves adds and commits the object via session.

Since this can of course be overwritten in your class to provide validation checks prior to saving.

Default:

save()

Return
saved_obj (obj)the object that has been saved with

hopefully an updated identity.