- changed status to resolved
example fix: Advanced Data Mapping - Mapping a Class with Table Inheritance
Issue #39
resolved
I've found an issue with the following documentation section: Advanced Data Mapping - Mapping a Class with Table Inheritance
AddressUser.mapper = mapper( addresses, inherits=User.mapper )
should probably be:
AddressUser.mapper = mapper(AddressUser, addresses, inherits=User.mapper )
Additionally, the lower definition specifying the join condition should be:
AddressUser.mapper = mapper(AddressUser, addresses, inherits=User.mapper, inherit_condition=users.c.user_id==addresses.c.user_id )
Comments (1)
-
repo owner - Log in to comment
fixed in 842