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 b46f04ec passwd>, 'name': <StringCol b46f0f0c 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 b47b576c 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 b47bc3ec other>, 'name': <StringCol b47bc5ec 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 b47bc4ec so_value>, 'name': <StringCol b47bca8c 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 b481ce4c passwd>, 'name': <StringCol b481c20c 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 = {'other2ID': <KeyCol b47529ac other2>, 'otherID': <ForeignKey b4752a0c other>, 'name': <StringCol b4752bcc name>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO4>, <SOKeyCol other2ID default=None connected to SOTestSO4>]
columns = {'other2ID': <SOKeyCol other2ID default=None connected to SOTestSO4>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO4>, 'name': <SOStringCol name>}
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 b47b1dec 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 b47b164c other>, 'anotherID': <ForeignKey b47b132c another>, 'name': <StringCol b47b1bec 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 b47b922c other>, 'name': <StringCol b47b974c 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 b47b97cc 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 b47b54ec other>, 'name': <StringCol b475898c 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 b47b5dec 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 b481c38c 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]