sqlobject.tests.test_distinct module

class sqlobject.tests.test_distinct.Distinct1(**kw)[source]

Bases: sqlobject.main.SQLObject

j = distinct1
n
q = distinct1
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'n': <IntCol b37fe62cL n>}
columnList = [<SOIntCol n>]
columns = {'n': <SOIntCol n>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Distinct1

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'distinct1'
class sqlobject.tests.test_distinct.Distinct2(**kw)[source]

Bases: sqlobject.main.SQLObject

j = distinct2
other
otherID
q = distinct2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b36eeb0cL other>}
columnList = [<SOForeignKey otherID connected to Distinct1>]
columns = {'otherID': <SOForeignKey otherID connected to Distinct1>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Distinct2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'distinct2'
sqlobject.tests.test_distinct.count(select)[source]
sqlobject.tests.test_distinct.test_distinct()[source]