sqlobject.tests.test_SingleJoin module

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

Bases: sqlobject.main.SQLObject

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

Bases: sqlobject.main.sqlmeta

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

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

Bases: sqlobject.main.SQLObject

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

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'color': <StringCol b3be03acL color>, 'personID': <ForeignKey b3be092cL 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 PhotoAlbum

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