sqlobject.inheritance.tests.test_foreignKey module¶
-
class
sqlobject.inheritance.tests.test_foreignKey.
EmployeeWithNotes
(**kw)[source]¶ Bases:
sqlobject.inheritance.tests.test_foreignKey.PersonWithNotes
-
firstName
¶
-
j
= employee_with_notes¶
-
lastName
¶
-
note
¶
-
paper
¶
-
paperID
¶
-
q
= employee_with_notes¶
-
class
sqlmeta
(instance)¶ Bases:
sqlobject.declarative.sqlmeta
-
childClasses
= {}¶
-
childName
= 'EmployeeWithNotes'¶
-
columnDefinitions
= {'paperID': <ForeignKey b4fdc86cL 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
PersonWithNotes
-
soClass
¶ alias of
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 b4aef4ecL text>}¶
-
columnList
= [<SOStringCol text>]¶
-
columns
= {'text': <SOStringCol text>}¶
-
idName
= 'id'¶
-
indexDefinitions
= []¶
-
indexes
= []¶
-
joinDefinitions
= []¶
-
joins
= []¶
-
style
= <sqlobject.styles.MixedCaseUnderscoreStyle object>¶
-
table
= 'note'¶
-
-
text
¶
-
-
class
sqlobject.inheritance.tests.test_foreignKey.
Paper
(**kw)[source]¶ Bases:
sqlobject.main.SQLObject
-
content
¶
-
j
= paper¶
-
q
= paper¶
-
class
sqlmeta
(instance)¶ Bases:
sqlobject.main.sqlmeta
-
childName
= None¶
-
columnDefinitions
= {'content': <StringCol b45a67ccL content>}¶
-
columnList
= [<SOStringCol content>]¶
-
columns
= {'content': <SOStringCol content>}¶
-
idName
= 'id'¶
-
indexDefinitions
= []¶
-
indexes
= []¶
-
joinDefinitions
= []¶
-
joins
= []¶
-
style
= <sqlobject.styles.MixedCaseUnderscoreStyle object>¶
-
table
= 'paper'¶
-
-
-
class
sqlobject.inheritance.tests.test_foreignKey.
PersonWithNotes
(**kw)[source]¶ Bases:
sqlobject.inheritance.InheritableSQLObject
-
childName
¶
-
firstName
¶
-
j
= person_with_notes¶
-
lastName
¶
-
note
¶
-
noteID
¶
-
q
= person_with_notes¶
-
class
sqlmeta
(instance)¶ Bases:
sqlobject.inheritance.InheritableSQLMeta
-
childClasses
= {'EmployeeWithNotes': <class 'sqlobject.inheritance.tests.test_foreignKey.EmployeeWithNotes'>}¶
-
childName
= None¶
-
columnDefinitions
= {'lastName': <StringCol b4e0f44cL lastName>, 'childName': <StringCol b4b85f6cL childName>, 'noteID': <ForeignKey b4e0f68cL note>, 'firstName': <StringCol b4aefa0cL firstName>}¶
-
columnList
= [<SOStringCol firstName>, <SOStringCol lastName>, <SOForeignKey noteID default=None connected to Note>, <SOStringCol childName default=None>]¶
-
columns
= {'lastName': <SOStringCol lastName>, 'childName': <SOStringCol childName default=None>, 'noteID': <SOForeignKey noteID default=None connected to Note>, 'firstName': <SOStringCol firstName>}¶
-
indexDefinitions
= []¶
-
indexes
= []¶
-
joinDefinitions
= []¶
-
joins
= []¶
-
parentClass
= None¶
-
soClass
¶ alias of
PersonWithNotes
-
table
= 'person_with_notes'¶
-
-
-
class
sqlobject.inheritance.tests.test_foreignKey.
SOTestInhBase
(**kw)[source]¶ Bases:
sqlobject.inheritance.InheritableSQLObject
-
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 b44ba7ecL childName>}¶
-
columnList
= [<SOStringCol childName default=None>]¶
-
columns
= {'childName': <SOStringCol childName default=None>}¶
-
indexDefinitions
= []¶
-
indexes
= []¶
-
joinDefinitions
= []¶
-
joins
= []¶
-
parentClass
= None¶
-
soClass
¶ alias of
SOTestInhBase
-
table
= 'so_test_inh_base'¶
-
-
-
class
sqlobject.inheritance.tests.test_foreignKey.
SOTestInhFKey
(**kw)[source]¶ Bases:
sqlobject.inheritance.tests.test_foreignKey.SOTestInhBase
-
base
¶
-
baseID
¶
-
childName
¶
-
j
= so_test_inh_f_key¶
-
q
= so_test_inh_f_key¶
-
class
sqlmeta
(instance)¶ Bases:
sqlobject.declarative.sqlmeta
-
childClasses
= {}¶
-
childName
= 'SOTestInhFKey'¶
-
columnDefinitions
= {'childName': <StringCol b4572a4cL childName>, 'baseID': <ForeignKey b44c4decL base>}¶
-
columnList
= [<SOForeignKey baseID connected to SOTestInhBase>, <SOStringCol childName default=None>]¶
-
columns
= {'childName': <SOStringCol childName default=None>, 'baseID': <SOForeignKey baseID connected to SOTestInhBase>}¶
-
indexDefinitions
= []¶
-
indexes
= []¶
-
joinDefinitions
= []¶
-
joins
= []¶
-
parentClass
¶ alias of
SOTestInhBase
-
soClass
¶ alias of
SOTestInhFKey
-
table
= 'so_test_inh_f_key'¶
-
-