# `DefaultStyle`

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

The DefaultStyle class is accessible via the `sqlobject.styles` module.

## Methods

#### f `__format__(...)` ...

default object formatter

#### f `__subclasshook__(...)` ...

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

#### f `__sizeof__(...)` ...

__sizeof__() -> int size of object in memory, in bytes

#### 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.