Index of sqlobject.styles module

#

# Index of the `styles` module

- m `sqlobject.styles` ...
  - a `__package__` ...
  - C `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).
    - f `dbTableToPythonClass` ...
    - f `pythonAttrToDBColumn` ...
    - f `pythonClassToDBTable` ...
    - f `dbColumnToPythonAttr` ...
    - f `instanceAttrToIDAttr` ...
    - f `idForTable` ...
    - f `pythonClassToAttr` ...
    - f `instanceIDAttrToAttr` ...
    - f `tableReference` ...
    - f `__init__` ...
  - C `MixedCaseUnderscoreStyle` ... - This is the default style. Python attributes use mixedCase, while database columns use underscore_separated.
    - f `pythonClassToDBTable` ...
    - f `dbColumnToPythonAttr` ...
    - f `instanceAttrToIDAttr` ...
    - f `pythonClassToAttr` ...
    - f `tableReference` ...
    - f `__init__` ...
  - C `MixedCaseStyle` ... - This style leaves columns as mixed-case, and uses long ID names (like ProductID instead of simply id).
    - f `pythonAttrToDBColumn` ...
    - f `pythonClassToAttr` ...
    - f `instanceIDAttrToAttr` ...
    - f `tableReference` ...