sqlobject.tests.test_style module

class sqlobject.tests.test_style.AnotherStyle(pythonAttrToDBColumn=None, dbColumnToPythonAttr=None, pythonClassToDBTable=None, dbTableToPythonClass=None, idForTable=None, longID=False)[source]

Bases: sqlobject.styles.MixedCaseUnderscoreStyle

pythonAttrToDBColumn(attr)[source]
class sqlobject.tests.test_style.SOStyleTest1(**kw)[source]

Bases: sqlobject.main.SQLObject

a
j = so_style_test1
q = so_style_test1
class sqlmeta(instance)[source]

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'a': <StringCol b31fb5ecL a>, 'st2ID': <ForeignKey b363142cL st2>}
columnList = [<SOStringCol a>, <SOForeignKey st2ID connected to SOStyleTest2>]
columns = {'a': <SOStringCol a>, 'st2ID': <SOForeignKey st2ID connected to SOStyleTest2>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOStyleTest1

style = <sqlobject.tests.test_style.AnotherStyle object>
table = 'so_style_test1'
st2
st2ID
class sqlobject.tests.test_style.SOStyleTest2(**kw)[source]

Bases: sqlobject.main.SQLObject

b
j = so_style_test2
q = so_style_test2
class sqlmeta(instance)[source]

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'b': <StringCol b322e58cL b>}
columnList = [<SOStringCol b>]
columns = {'b': <SOStringCol b>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOStyleTest2

style = <sqlobject.tests.test_style.AnotherStyle object>
table = 'so_style_test2'
sqlobject.tests.test_style.test_style()[source]