sqlobject.inheritance.tests.test_foreignKey module

class sqlobject.inheritance.tests.test_foreignKey.EmployeeWithNotes(**kw)[source]

Bases: sqlobject.inheritance.tests.test_foreignKey.PersonWithNotes

property firstName
j = employee_with_notes
property lastName
property note
property paper
property paperID
q = employee_with_notes
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'EmployeeWithNotes'
columnDefinitions = {'paperID': <ForeignKey b53edecc paper>}
columnList = [<SOForeignKey paperID default=None connected to Paper>]
columns = {'paperID': <SOForeignKey paperID default=None connected to Paper>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of sqlobject.inheritance.tests.test_foreignKey.PersonWithNotes

soClass

alias of sqlobject.inheritance.tests.test_foreignKey.EmployeeWithNotes

table = 'employee_with_notes'
class sqlobject.inheritance.tests.test_foreignKey.Note(**kw)[source]

Bases: sqlobject.main.SQLObject

j = note
q = note
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'text': <StringCol b533c88c text>}
columnList = [<SOStringCol text>]
columns = {'text': <SOStringCol text>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.inheritance.tests.test_foreignKey.Note

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'note'
property text
class sqlobject.inheritance.tests.test_foreignKey.Paper(**kw)[source]

Bases: sqlobject.main.SQLObject

property content
j = paper
q = paper
class sqlmeta(instance)

Bases: sqlobject.main.sqlmeta

childName = None
columnDefinitions = {'content': <StringCol b5327d6c content>}
columnList = [<SOStringCol content>]
columns = {'content': <SOStringCol content>}
idName = 'id'
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
soClass

alias of sqlobject.inheritance.tests.test_foreignKey.Paper

style = <sqlobject.styles.MixedCaseUnderscoreStyle object>
table = 'paper'
class sqlobject.inheritance.tests.test_foreignKey.PersonWithNotes(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

property childName
property firstName
j = person_with_notes
property lastName
property note
property noteID
q = person_with_notes
class sqlmeta(instance)

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'EmployeeWithNotes': <class 'sqlobject.inheritance.tests.test_foreignKey.EmployeeWithNotes'>}
childName = None
columnDefinitions = {'childName': <StringCol b539702c childName>, 'firstName': <StringCol b52390cc firstName>, 'lastName': <StringCol b5345eec lastName>, 'noteID': <ForeignKey b5512a6c note>}
columnList = [<SOStringCol firstName>, <SOStringCol lastName>, <SOForeignKey noteID default=None connected to Note>, <SOStringCol childName default=None>]
columns = {'childName': <SOStringCol childName default=None>, 'firstName': <SOStringCol firstName>, 'lastName': <SOStringCol lastName>, 'noteID': <SOForeignKey noteID default=None connected to Note>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass = None
soClass

alias of sqlobject.inheritance.tests.test_foreignKey.PersonWithNotes

table = 'person_with_notes'
class sqlobject.inheritance.tests.test_foreignKey.SOTestInhBase(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

property childName
j = so_test_inh_base
q = so_test_inh_base
class sqlmeta(instance)

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'SOTestInhFKey': <class 'sqlobject.inheritance.tests.test_foreignKey.SOTestInhFKey'>}
childName = None
columnDefinitions = {'childName': <StringCol b527336c childName>}
columnList = [<SOStringCol childName default=None>]
columns = {'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass = None
soClass

alias of sqlobject.inheritance.tests.test_foreignKey.SOTestInhBase

table = 'so_test_inh_base'
class sqlobject.inheritance.tests.test_foreignKey.SOTestInhFKey(**kw)[source]

Bases: sqlobject.inheritance.tests.test_foreignKey.SOTestInhBase

property base
property baseID
property childName
j = so_test_inh_f_key
q = so_test_inh_f_key
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'SOTestInhFKey'
columnDefinitions = {'baseID': <ForeignKey b526d90c base>, 'childName': <StringCol b533d8cc childName>}
columnList = [<SOForeignKey baseID connected to SOTestInhBase>, <SOStringCol childName default=None>]
columns = {'baseID': <SOForeignKey baseID connected to SOTestInhBase>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of sqlobject.inheritance.tests.test_foreignKey.SOTestInhBase

soClass

alias of sqlobject.inheritance.tests.test_foreignKey.SOTestInhFKey

table = 'so_test_inh_f_key'
sqlobject.inheritance.tests.test_foreignKey.test_foreignKey()[source]
sqlobject.inheritance.tests.test_foreignKey.test_foreignKey2()[source]