sqlobject.tests.test_sqlobject_admin module

class sqlobject.tests.test_sqlobject_admin.SOTest1(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test1
q = so_test1
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'test1': <StringCol b359876cL test1>}
columnList = [<SOStringCol test1>]
columns = {'test1': <SOStringCol test1>}
createSQL = 'CREATE SEQUENCE db_test1_seq;'
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTest1

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test1'
SOTest1.test1
class sqlobject.tests.test_sqlobject_admin.SOTest2(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test2
q = so_test2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'test2': <StringCol b55ed04cL test2>}
columnList = [<SOStringCol test2>]
columns = {'test2': <SOStringCol test2>}
createSQL = ['CREATE SEQUENCE db_test2_seq;', "ALTER TABLE test2 ADD CHECK(test2 != '');"]
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTest2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test2'
SOTest2.test2
class sqlobject.tests.test_sqlobject_admin.SOTest3(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test3
q = so_test3
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'test3': <StringCol b355124cL test3>}
columnList = [<SOStringCol test3>]
columns = {'test3': <SOStringCol test3>}
createSQL = {'postgres': 'CREATE SEQUENCE db_test3_seq;', 'mysql': 'CREATE SEQUENCE db_test3_seq;'}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTest3

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test3'
SOTest3.test3
class sqlobject.tests.test_sqlobject_admin.SOTest4(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test4
q = so_test4
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'test4': <StringCol b353fe4cL test4>}
columnList = [<SOStringCol test4>]
columns = {'test4': <SOStringCol test4>}
createSQL = {'postgres': ['CREATE SEQUENCE db_test4_seq;', "ALTER TABLE test4 ADD CHECK(test4 != '');"], 'mysql': 'CREATE SEQUENCE db_test4_seq;'}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTest4

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test4'
SOTest4.test4
class sqlobject.tests.test_sqlobject_admin.SOTest5(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test5
q = so_test5
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'test5': <StringCol b35f006cL test5>}
columnList = [<SOStringCol test5>]
columns = {'test5': <SOStringCol test5>}
createSQL = {'mysql': 'CREATE SEQUENCE db_test5_seq;'}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of SOTest5

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test5'
SOTest5.test5