sqlobject.tests.test_inheritance module

class sqlobject.tests.test_inheritance.Sub(**kw)[source]

Bases: sqlobject.tests.test_inheritance.Super

j = sub
name2
q = sub
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childName = None
columnDefinitions = {'name2': <StringCol b3398decL name2>, 'name': <StringCol b32c3b4cL name>}
columnList = [<SOStringCol name>, <SOStringCol name2>]
columns = {'name2': <SOStringCol name2>, 'name': <SOStringCol name>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Sub

table = 'sub'
class sqlobject.tests.test_inheritance.Super(**kw)[source]

Bases: sqlobject.main.SQLObject

j = super
name
q = super
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

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

alias of Super

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'super'
sqlobject.tests.test_inheritance.test_sub()[source]
sqlobject.tests.test_inheritance.test_super()[source]