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 = {'name': <StringCol b506aecc name>, 'passwd': <StringCol b506a16c passwd>}
columnList = [<SOStringCol name>, <SOStringCol passwd>]
columns = {'name': <SOStringCol name>, 'passwd': <SOStringCol passwd>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 b4ca3ecc name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b5125e4c name>, 'otherID': <ForeignKey b51256cc other>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO10>]
columns = {'name': <SOStringCol name>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO10>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b520316c name>, 'so_value': <IntCol b520376c so_value>}
columnList = [<SOStringCol name>, <SOIntCol so_value>]
columns = {'name': <SOStringCol name>, 'so_value': <SOIntCol so_value>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b56cc30c name>, 'passwd': <StringCol b5720a2c passwd>}
columnList = [<SOStringCol name>, <SOStringCol passwd>]
columns = {'name': <SOStringCol name>, 'passwd': <SOStringCol passwd>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b5323d6c name>, 'other2ID': <KeyCol b4ada64c other2>, 'otherID': <ForeignKey b4ada70c other>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO4>, <SOKeyCol other2ID default=None connected to SOTestSO4>]
columns = {'name': <SOStringCol name>, 'other2ID': <SOKeyCol other2ID default=None connected to SOTestSO4>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO4>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 b4a8df4c me>}
columnList = [<SOStringCol me>]
columns = {'me': <SOStringCol me>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'anotherID': <ForeignKey b4aa29ac another>, 'name': <StringCol b4aa264c name>, 'otherID': <ForeignKey b4aa268c other>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO6>, <SOForeignKey anotherID default=None connected to SOTestSO7>]
columns = {'anotherID': <SOForeignKey anotherID default=None connected to SOTestSO7>, 'name': <SOStringCol name>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO6>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b4a98c8c name>, 'otherID': <ForeignKey b4a98a4c other>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO7>]
columns = {'name': <SOStringCol name>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO7>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 b4cd25ec name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 = {'name': <StringCol b4cd2aac name>, 'otherID': <ForeignKey b4cd256c other>}
columnList = [<SOStringCol name>, <SOForeignKey otherID default=None connected to SOTestSO9>]
columns = {'name': <SOStringCol name>, 'otherID': <SOForeignKey otherID default=None connected to SOTestSO9>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 b4cd20ec name>}
columnList = [<SOStringCol name>]
columns = {'name': <SOStringCol name>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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 b506078c is_smart>}
columnList = [<SOBoolCol is_smart>]
columns = {'is_smart': <SOBoolCol is_smart>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_basic.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]