Fills object properties specified by 'obj' parameter from table specified by 'name' parameter.
Fills object properties specified by 'obj' parameter from table specified by 'name' parameter. obj contains property names to be filled from database. obj map must contain primary key entry. If no corresponding table column to the property is found property value in returned object remains untouched. If no object is found by primary key None is returned.
Returned object contains exactly the same property set as the one passed as a parameter.
If parameter fillNames is true, foreign key properties are resolved to names using resources.nameExpr(tableName). Name expression column aliases are modified according to the following rules:
Saves object obj specified by parameter name.
Saves object obj specified by parameter name. If object primary key is set object is updated, if object primary key is not set object is inserted. Children are merged with database i.e. new ones are inserted, existing ones updated, deleted ones deleted. Children structure i.e. property set must be identical, since one tresql statement is used for all of the children
Object Relational Transformations - ORT