sqlobject.tests.test_select_through module

class sqlobject.tests.test_select_through.SRThrough1(**kw)[source]

Bases: sqlobject.main.SQLObject

j = sr_through1
q = sr_through1
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'threeID': <ForeignKey b40647ec three>}
columnList = [<SOForeignKey threeID connected to SRThrough3>]
columns = {'threeID': <SOForeignKey threeID connected to SRThrough3>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = [<sqlobject.joins.SQLMultipleJoin object>]
joins = [<sqlobject.joins.SOSQLMultipleJoin object>]
soClass

alias of SRThrough1

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'sr_through1'
three
threeID
twos
class sqlobject.tests.test_select_through.SRThrough2(**kw)[source]

Bases: sqlobject.main.SQLObject

addThree(obj)
j = sr_through2
one
oneID
q = sr_through2
removeThree(obj)
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'oneID': <ForeignKey b40644cc one>}
columnList = [<SOForeignKey oneID connected to SRThrough1>]
columns = {'oneID': <SOForeignKey oneID connected to SRThrough1>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = [<sqlobject.joins.SQLRelatedJoin object>]
joins = [<sqlobject.joins.SOSQLRelatedJoin object>]
soClass

alias of SRThrough2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'sr_through2'
threes
class sqlobject.tests.test_select_through.SRThrough3(**kw)[source]

Bases: sqlobject.main.SQLObject

addSRThrough2(obj)
j = sr_through3
name
ones
q = sr_through3
removeSRThrough2(obj)
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b3f0b3cc name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = [<sqlobject.joins.SQLMultipleJoin object>, <sqlobject.joins.SQLRelatedJoin object>]
joins = [<sqlobject.joins.SOSQLRelatedJoin object>, <sqlobject.joins.SOSQLMultipleJoin object>]
soClass

alias of SRThrough3

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'sr_through3'
twos
sqlobject.tests.test_select_through.setup_module(mod)[source]
sqlobject.tests.test_select_through.testBadRef()[source]
sqlobject.tests.test_select_through.testThroughFK()[source]
sqlobject.tests.test_select_through.testThroughFKAndJoin()[source]
sqlobject.tests.test_select_through.testThroughMultipleJoin()[source]
sqlobject.tests.test_select_through.testThroughRelatedJoin()[source]