sqlobject.inheritance.tests.test_inheritance module

class sqlobject.inheritance.tests.test_inheritance.Employee(**kw)[source]

Bases: sqlobject.inheritance.tests.test_inheritance.InheritablePerson

firstName
j = employee
lastName
q = employee
so_position
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'Employee'
columnDefinitions = {'so_position': <StringCol b43b4f6cL so_position>}
columnList = [<SOStringCol so_position>]
columns = {'so_position': <SOStringCol so_position>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of InheritablePerson

soClass

alias of Employee

table = 'employee'
class sqlobject.inheritance.tests.test_inheritance.InheritablePerson(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

classmethod byLastName(val, connection=None)
childName
firstName
j = inheritable_person
lastName
q = inheritable_person
class sqlmeta(instance)

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'Employee': <class 'sqlobject.inheritance.tests.test_inheritance.Employee'>}
childName = None
columnDefinitions = {'lastName': <StringCol b451968cL lastName>, 'childName': <StringCol b45723ccL childName>, 'firstName': <StringCol b4519a4cL firstName>}
columnList = [<SOStringCol firstName>, <SOStringCol lastName alternate ID>, <SOStringCol childName default=None>]
columns = {'lastName': <SOStringCol lastName alternate ID>, 'childName': <SOStringCol childName default=None>, 'firstName': <SOStringCol firstName>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass = None
soClass

alias of InheritablePerson

table = 'inheritable_person'
sqlobject.inheritance.tests.test_inheritance.setup()[source]
sqlobject.inheritance.tests.test_inheritance.test_addDelColumn()[source]
sqlobject.inheritance.tests.test_inheritance.test_creation_fail()[source]
sqlobject.inheritance.tests.test_inheritance.test_inheritance()[source]
sqlobject.inheritance.tests.test_inheritance.test_inheritance_select()[source]