PyDO -- Python Data Objects
Previous:
3 Static Methods
Up:
3 Data Class Details
Next:
5 Dict-type Instance Methods
4 Instance Methods
__init__()
can be used to prepopulate data object instance attributes. Can have no arguments other than self.
dict()
returns copy of dict representing current row
updateValues(dict)
make the values in current dict "stick"
delete()
delete current row
refresh()
reload current object
joinTable(thisAttrNames, pivotTable, thisSideColumns, thatSideColumns, thatObject, thatAttrNames)
do cool m2m join
joinTableSQL(thisAttrNames, pivotTable, thisSideColumns, thatSideColumns, thatObject, thatAttrNames)
returns
sql
and
value
list for
conn.execute
to do a m2m join but doesn't execute it so you can do ordering or other stuff.
PyDO -- Python Data Objects
Previous:
3 Static Methods
Up:
3 Data Class Details
Next:
5 Dict-type Instance Methods
Release 1.0.