sqlobject.tests.test_SingleJoin module

class sqlobject.tests.test_SingleJoin.PersonWithAlbum(**kw)[source]

Bases: sqlobject.main.SQLObject

property albumInstance
property albumNone
j = person_with_album
property name
q = person_with_album
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4fa26cc name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = [<sqlobject.joins.SingleJoin object>, <sqlobject.joins.SingleJoin object>]
joins = [<sqlobject.joins.SOSingleJoin object>, <sqlobject.joins.SOSingleJoin object>]
soClass

alias of sqlobject.tests.test_SingleJoin.PersonWithAlbum

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'person_with_album'
class sqlobject.tests.test_SingleJoin.PhotoAlbum(**kw)[source]

Bases: sqlobject.main.SQLObject

property color
j = photo_album
property person
property personID
q = photo_album
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'color': <StringCol b54ca6ac color>, 'personID': <ForeignKey b54ca10c person>}
columnList = [<SOStringCol color default='red'>, <SOForeignKey personID connected to PersonWithAlbum>]
columns = {'color': <SOStringCol color default='red'>, 'personID': <SOForeignKey personID connected to PersonWithAlbum>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_SingleJoin.PhotoAlbum

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'photo_album'
sqlobject.tests.test_SingleJoin.test_1()[source]