sqlobject.inheritance.tests.test_asdict module

class sqlobject.inheritance.tests.test_asdict.EmployeeAD(**kw)[source]

Bases: sqlobject.inheritance.tests.test_asdict.InheritablePersonAD

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

Bases: sqlobject.declarative.sqlmeta

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

alias of InheritablePersonAD

soClass

alias of EmployeeAD

table = 'employee_a_d'
class sqlobject.inheritance.tests.test_asdict.InheritablePersonAD(**kw)[source]

Bases: sqlobject.inheritance.InheritableSQLObject

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

Bases: sqlobject.inheritance.InheritableSQLMeta

childClasses = {'EmployeeAD': <class 'sqlobject.inheritance.tests.test_asdict.EmployeeAD'>, 'ManagerAD': <class 'sqlobject.inheritance.tests.test_asdict.ManagerAD'>}
childName = None
columnDefinitions = {'lastName': <StringCol b457e4ccL lastName>, 'childName': <StringCol b4ef744cL childName>, 'firstName': <StringCol b45a63ecL 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 InheritablePersonAD

table = 'inheritable_person_a_d'
class sqlobject.inheritance.tests.test_asdict.ManagerAD(**kw)[source]

Bases: sqlobject.inheritance.tests.test_asdict.InheritablePersonAD

childName
department
firstName
j = manager_a_d
lastName
q = manager_a_d
class sqlmeta(instance)

Bases: sqlobject.declarative.sqlmeta

childClasses = {}
childName = 'ManagerAD'
columnDefinitions = {'department': <StringCol b4589a2cL department>, 'childName': <StringCol b45e068cL childName>}
columnList = [<SOStringCol department>, <SOStringCol childName default=None>]
columns = {'department': <SOStringCol department>, 'childName': <SOStringCol childName default=None>}
indexDefinitions = []
indexes = []
joinDefinitions = []
joins = []
parentClass

alias of InheritablePersonAD

soClass

alias of ManagerAD

table = 'manager_a_d'
sqlobject.inheritance.tests.test_asdict.test_asDict()[source]
sqlobject.inheritance.tests.test_asdict.test_getColumns()[source]