sqlobject.tests.test_basic module

class sqlobject.tests.test_basic.SOTestSO1(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o1
name
passwd
q = so_test_s_o1
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

cacheValues = False
childName = None
columnDefinitions = {'passwd': <StringCol b3973aacL passwd>, 'name': <StringCol b39731ecL name>}
columnList = [<SOStringCol name>, <SOStringCol passwd>]
columns = {'passwd': <SOStringCol passwd>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO1

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o1'
class sqlobject.tests.test_basic.SOTestSO10(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o10
name
q = so_test_s_o10
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b36f9a4cL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO10

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o10'
class sqlobject.tests.test_basic.SOTestSO11(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o11
name
other
otherID
q = so_test_s_o11
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b36f9cccL other>, 'name': <StringCol b36f95ecL name>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO10>]
columns = {'otherID': <SOForeignKey otherID default=None connected to SOTestSO10>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO11

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o11'
class sqlobject.tests.test_basic.SOTestSO12(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o12
name
q = so_test_s_o12
so_value
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'so_value': <IntCol b36fc66cL so_value>, 'name': <StringCol b36fc76cL name>}
columnList = [<SOStringCol name>, <SOIntCol so_value>]
columns = {'so_value': <SOIntCol so_value>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO12

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o12'
class sqlobject.tests.test_basic.SOTestSO2(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o2
name
passwd
q = so_test_s_o2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'passwd': <StringCol b382a78cL passwd>, 'name': <StringCol b406030cL name>}
columnList = [<SOStringCol name>, <SOStringCol passwd>]
columns = {'passwd': <SOStringCol passwd>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o2'
class sqlobject.tests.test_basic.SOTestSO3(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o3
name
other
other2
other2ID
otherID
q = so_test_s_o3
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b382a0ccL other>, 'name': <StringCol b3b10f8cL name>, 'other2ID': <KeyCol b382abacL other2>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO4>, <SOKeyCol other2ID default=None connected to SOTestSO4>]
columns = {'otherID': <SOForeignKey otherID default=None connected to SOTestSO4>, 'name': <SOStringCol name>, 'other2ID': <SOKeyCol other2ID default=None connected to SOTestSO4>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO3

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o3'
class sqlobject.tests.test_basic.SOTestSO4(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o4
me
q = so_test_s_o4
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'me': <StringCol b41da4acL me>}
columnList = [<SOStringCol me>]
columns = {'me': <SOStringCol me>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO4

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o4'
class sqlobject.tests.test_basic.SOTestSO5(**kw)[source]

Bases: sqlobject.main.SQLObject

another
anotherID
j = so_test_s_o5
name
other
otherID
q = so_test_s_o5
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b3713fccL other>, 'anotherID': <ForeignKey b371378cL another>, 'name': <StringCol b37130ccL name>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO6>, <SOForeignKey anotherID default=None connected to SOTestSO7>]
columns = {'otherID': <SOForeignKey otherID default=None connected to SOTestSO6>, 'anotherID': <SOForeignKey anotherID default=None connected to SOTestSO7>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO5

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o5'
class sqlobject.tests.test_basic.SOTestSO6(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o6
name
other
otherID
q = so_test_s_o6
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b357872cL other>, 'name': <StringCol b3578b8cL name>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO7>]
columns = {'otherID': <SOForeignKey otherID default=None connected to SOTestSO7>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO6

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o6'
class sqlobject.tests.test_basic.SOTestSO7(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o7
name
q = so_test_s_o7
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b383e54cL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO7

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o7'
class sqlobject.tests.test_basic.SOTestSO8(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o8
name
other
otherID
q = so_test_s_o8
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'otherID': <ForeignKey b383e6acL other>, 'name': <StringCol b383e90cL name>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO9>]
columns = {'otherID': <SOForeignKey otherID default=None connected to SOTestSO9>, 'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO8

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o8'
class sqlobject.tests.test_basic.SOTestSO9(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_s_o9
name
q = so_test_s_o9
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b37163ccL name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTestSO9

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_s_o9'
class sqlobject.tests.test_basic.Student(**kw)[source]

Bases: sqlobject.main.SQLObject

is_smart
j = student
q = student
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'is_smart': <BoolCol b382acacL is_smart>}
columnList = [<SOBoolCol is_smart>]
columns = {'is_smart': <SOBoolCol is_smart>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of Student

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'student'
sqlobject.tests.test_basic.setupGetters(cls)[source]
sqlobject.tests.test_basic.testAsDict()[source]
sqlobject.tests.test_basic.testForeignKeyDestroySelfRestrict()[source]
sqlobject.tests.test_basic.testForeignKeyDropTableCascade()[source]
sqlobject.tests.test_basic.testForeignKeySetNull()[source]
sqlobject.tests.test_basic.test_boolCol()[source]
sqlobject.tests.test_basic.test_case1()[source]
sqlobject.tests.test_basic.test_case2()[source]
sqlobject.tests.test_basic.test_connection_override()[source]
sqlobject.tests.test_basic.test_count()[source]
sqlobject.tests.test_basic.test_defaultSQL()[source]
sqlobject.tests.test_basic.test_extra_vars()[source]
sqlobject.tests.test_basic.test_foreignKey()[source]
sqlobject.tests.test_basic.test_foreignKeyDestroySelfCascade()[source]
sqlobject.tests.test_basic.test_getset()[source]
sqlobject.tests.test_basic.test_newline()[source]
sqlobject.tests.test_basic.test_nonexisting_attr()[source]
sqlobject.tests.test_basic.test_selectBy()[source]