sqlobject.tests.test_combining_joins module

class sqlobject.tests.test_combining_joins.Complex(**kw)[source]

Bases: sqlobject.main.SQLObject

complex_group
complex_groupID
j = complex
name
q = complex
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'complex_groupID': <ForeignKey b451e52c complex_group>, 'name': <StringCol b451e0ac name>}
columnList = [<SOStringCol name>, <SOForeignKey complex_groupID connected to ComplexGroup>]
columns = {'complex_groupID': <SOForeignKey complex_groupID connected to ComplexGroup>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Complex

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'complex'
unit_models
class sqlobject.tests.test_combining_joins.ComplexGroup(**kw)[source]

Bases: sqlobject.main.SQLObject

complexes
j = complex_group
name
q = complex_group
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

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

alias of ComplexGroup

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'complex_group'
unit_models
class sqlobject.tests.test_combining_joins.UnitModel(**kw)[source]

Bases: sqlobject.main.SQLObject

complexes
j = unit_model
name
q = unit_model
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

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

alias of UnitModel

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'unit_model'
sqlobject.tests.test_combining_joins.test_join_sqlrepr()[source]