|
|
|
|
|
getType(self)
This method shall return the type of record the wrapper represents. |
source code
|
|
|
|
|
|
|
setAttrs(self,
**kwargs)
Assign the attributes given as keyword arguments to the instance. |
source code
|
|
|
|
|
|
|
getRecord(self,
fetch_existing=False)
Get the model record wrapped by the instance (i.e. |
source code
|
|
|
|
delete(self,
commit=True)
Delete the model record wrapped by the instance from the database and
perform any additional logic related to the deletion. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|