DefaultStyle

This is the default style. Python attributes use mixedCase, while database columns use underscore_separated.


Methods

f __init__(self, pythonAttrToDBColumn=None, dbColumnToPythonAttr=None, pythonClassToDBTable=None, dbTableToPythonClass=None, idForTable=None, longID=False) ...

f idForTable(self, table) ...

f pythonClassToAttr(self, className) ...

f instanceAttrToIDAttr(self, attr) ...

f instanceIDAttrToAttr(self, attr) ...

f pythonAttrToDBColumn(self, attr) ...

f dbColumnToPythonAttr(self, col) ...

f pythonClassToDBTable(self, className) ...

f dbTableToPythonClass(self, table) ...

f pythonClassToDBTableReference(self, className) ...

f tableReference(self, table) ...

See the source for more information.