Style

The base Style class, and also the simplest implementation. No translation occurs -- column names and attribute names match, as do class names and table names (when using auto class or schema generation).


Methods

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

f pythonAttrToDBColumn(self, attr) ...

f dbColumnToPythonAttr(self, col) ...

f pythonClassToDBTable(self, className) ...

f dbTableToPythonClass(self, table) ...

f idForTable(self, table) ...

f pythonClassToAttr(self, className) ...

f instanceAttrToIDAttr(self, attr) ...

f instanceIDAttrToAttr(self, attr) ...

f tableReference(self, table) ...

See the source for more information.