sqlobject.tests.test_basic module

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

Bases: sqlobject.main.SQLObject

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

Bases: sqlobject.main.sqlmeta

cacheValues = False
childName = None
columnDefinitions = {'name': <StringCol b4e0e66c name>, 'passwd': <StringCol b4e8c7ac 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
property name
q = so_test_s_o10
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b6feac 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
property name
property other
property otherID
q = so_test_s_o11
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b732cc name>, 'otherID': <ForeignKey b4b7326c 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
property name
q = so_test_s_o12
property so_value
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b7388c name>, 'so_value': <IntCol b4b7382c 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
property name
property passwd
q = so_test_s_o2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b53b34ac name>, 'passwd': <StringCol b4e9d64c 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
property name
property other
property other2
property other2ID
property otherID
q = so_test_s_o3
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4ba686c name>, 'other2ID': <KeyCol b4ba6bcc other2>, 'otherID': <ForeignKey b4ba6b8c 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
property me
q = so_test_s_o4
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'me': <StringCol b4b6e18c 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

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

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'anotherID': <ForeignKey b4b6e5ec another>, 'name': <StringCol b4b6e52c name>, 'otherID': <ForeignKey b4b6e5ac 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
property name
property other
property otherID
q = so_test_s_o6
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b6ebcc name>, 'otherID': <ForeignKey b4b6ec4c 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
property name
q = so_test_s_o7
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b6f1cc 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
property name
property other
property otherID
q = so_test_s_o8
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b6f52c name>, 'otherID': <ForeignKey b4b6f4cc 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
property name
q = so_test_s_o9
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'name': <StringCol b4b6fa4c 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

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

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'is_smart': <BoolCol b4ba1b2c 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]