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 b57ae64cL 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 b56fc8ccL text>}¶
-
columnList= [<SOStringCol text>]¶
-
columns= {'text': <SOStringCol text>}¶
-
idName= 'id'¶
-
indexDefinitions= []¶
-
indexes= []¶
-
joinDefinitions= []¶
-
joins= []¶
-
style= <sqlobject.styles.MixedCaseUnderscoreStyle object>¶
-
table= 'note'¶
-
-
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 b55c85ccL 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 b43c69ecL lastName>, 'childName': <StringCol b43c6b8cL childName>, 'noteID': <ForeignKey b43c6aacL note>, 'firstName': <StringCol b43c6accL 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 b4d1ce8cL 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 b449d0acL childName>, 'baseID': <ForeignKey b449da4cL 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'¶
-
-