sqlobject.tests.test_sqlbuilder_joins_instances module

class sqlobject.tests.test_sqlbuilder_joins_instances.SBAddress(**kw)[source]

Bases: sqlobject.main.SQLObject

addSBPerson(obj)
city
j = sb_address
person
personID
q = sb_address
removeSBPerson(obj)
sharedPeople
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'personID': <ForeignKey b312af8cL person>, 'city': <StringCol b312a92cL city>}
columnList = [<SOStringCol city>, <SOForeignKey personID connected to SBPerson>]
columns = {'personID': <SOForeignKey personID connected to SBPerson>, 'city': <SOStringCol city>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = [<sqlobject.joins.SQLRelatedJoin object>]
joins = [<sqlobject.joins.SOSQLRelatedJoin object>]
soClass

alias of SBAddress

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'sb_address'
class sqlobject.tests.test_sqlbuilder_joins_instances.SBPerson(**kw)[source]

Bases: sqlobject.main.SQLObject

addSharedAddress(obj)
addresses
j = sb_person
name
q = sb_person
removeSharedAddress(obj)
sharedAddresses
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b32577ecL 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 SBPerson

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'sb_person'
sqlobject.tests.test_sqlbuilder_joins_instances.setup_module(mod)[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testFK()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testFK2()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testInstance()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testJoin()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testJoin2()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testRelatedJoin()[source]
sqlobject.tests.test_sqlbuilder_joins_instances.testRelatedJoin2()[source]