sqlobject.tests.test_ForeignKey module

class sqlobject.tests.test_ForeignKey.SOTestComposerKey(**kw)[source]

Bases: sqlobject.main.SQLObject

classmethod byId2(val, connection=None)
id2
j = so_test_composer_key
name
q = so_test_composer_key
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestComposerKey

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_composer_key'
class sqlobject.tests.test_ForeignKey.SOTestFKValidationA(**kw)[source]

Bases: sqlobject.main.SQLObject

bfk
bfkID
cfk
cfkID
j = so_test_fk_validation_a
name
q = so_test_fk_validation_a
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestFKValidationA

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_fk_validation_a'
class sqlobject.tests.test_ForeignKey.SOTestFKValidationB(**kw)[source]

Bases: sqlobject.main.SQLObject

afk
afkID
j = so_test_fk_validation_b
name
q = so_test_fk_validation_b
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestFKValidationB

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_fk_validation_b'
class sqlobject.tests.test_ForeignKey.SOTestFKValidationC(**kw)[source]

Bases: sqlobject.main.SQLObject

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

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
idType

alias of __builtin__.str

indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestFKValidationC

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_fk_validation_c'
class sqlobject.tests.test_ForeignKey.SOTestOtherColumn(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_other_column
key1
key1ID
key2
key2ID
q = so_test_other_column
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestOtherColumn

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_other_column'
class sqlobject.tests.test_ForeignKey.SOTestWorkKey(**kw)[source]

Bases: sqlobject.main.SQLObject

composer
composerID
j = so_test_work_key
q = so_test_work_key
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'work_id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestWorkKey

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_work_key'
title
class sqlobject.tests.test_ForeignKey.SOTestWorkKey2(**kw)[source]

Bases: sqlobject.main.SQLObject

j = so_test_work_key2
q = so_test_work_key2
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
idName = 'id'
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.tests.test_ForeignKey.SOTestWorkKey2

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'so_test_work_key2'
title
sqlobject.tests.test_ForeignKey.test1()[source]
sqlobject.tests.test_ForeignKey.test2()[source]
sqlobject.tests.test_ForeignKey.test_foreignkey_validation()[source]
sqlobject.tests.test_ForeignKey.test_otherColumn()[source]