sqlobject.tests.test_enum module

class sqlobject.tests.test_enum.Enum1(**kw)[source]

Bases: sqlobject.main.SQLObject

j = enum1
l
q = enum1
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'l': <EnumCol b34881ecL l>}
columnList = [<SOEnumCol l>]
columns = {'l': <SOEnumCol l>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Enum1

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'enum1'
class sqlobject.tests.test_enum.EnumUnicode(**kw)[source]

Bases: sqlobject.main.SQLObject

j = enum_unicode
l
n
q = enum_unicode
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'l': <EnumCol b355926cL l>, 'n': <UnicodeCol b3559eacL n>}
columnList = [<SOUnicodeCol n>, <SOEnumCol l>]
columns = {'l': <SOEnumCol l>, 'n': <SOUnicodeCol n>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of EnumUnicode

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'enum_unicode'
class sqlobject.tests.test_enum.EnumWithDefaultNone(**kw)[source]

Bases: sqlobject.main.SQLObject

j = enum_with_default_none
l
q = enum_with_default_none
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'l': <EnumCol b397fa2cL l>}
columnList = [<SOEnumCol l default=None>]
columns = {'l': <SOEnumCol l default=None>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of EnumWithDefaultNone

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'enum_with_default_none'
class sqlobject.tests.test_enum.EnumWithDefaultOther(**kw)[source]

Bases: sqlobject.main.SQLObject

j = enum_with_default_other
l
q = enum_with_default_other
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'l': <EnumCol b370c82cL l>}
columnList = [<SOEnumCol l default='a'>]
columns = {'l': <SOEnumCol l default='a'>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of EnumWithDefaultOther

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'enum_with_default_other'
class sqlobject.tests.test_enum.EnumWithNone(**kw)[source]

Bases: sqlobject.main.SQLObject

j = enum_with_none
l
q = enum_with_none
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'l': <EnumCol b354f1ecL l>}
columnList = [<SOEnumCol l>]
columns = {'l': <SOEnumCol l>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of EnumWithNone

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'enum_with_none'
sqlobject.tests.test_enum.testBad()[source]
sqlobject.tests.test_enum.testDefaultNone()[source]
sqlobject.tests.test_enum.testDefaultOther()[source]
sqlobject.tests.test_enum.testNone()[source]
sqlobject.tests.test_enum.testUnicode()[source]