# sqlobject.inheritance.tests.test_foreignKey module

class `sqlobject.inheritance.tests.test_foreignKey.``EmployeeWithNotes`(**kw)

  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 b447ceacL 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)

  Bases: `sqlobject.main.SQLObject`

  `j` = note
  `q` = note
  class `sqlmeta`(instance)

    Bases: `sqlobject.main.sqlmeta`

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

      alias of `Note`

    `style` = <sqlobject.styles.MixedCaseUnderscoreStyle object>
    `table` = 'note'
  `Note.``text`

class `sqlobject.inheritance.tests.test_foreignKey.``Paper`(**kw)

  Bases: `sqlobject.main.SQLObject`

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

    Bases: `sqlobject.main.sqlmeta`

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

      alias of `Paper`

    `style` = <sqlobject.styles.MixedCaseUnderscoreStyle object>
    `table` = 'paper'

class `sqlobject.inheritance.tests.test_foreignKey.``PersonWithNotes`(**kw)

  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 b47bceccL lastName>, 'childName': <StringCol b47bcb4cL childName>, 'noteID': <ForeignKey b47bcb2cL note>, 'firstName': <StringCol b47bc22cL 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)

  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 b47bc62cL 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)

  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 b554be2cL childName>, 'baseID': <ForeignKey b554bfacL 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'

`sqlobject.inheritance.tests.test_foreignKey.``test_foreignKey`()

`sqlobject.inheritance.tests.test_foreignKey.``test_foreignKey2`()