Hello,
I have the following mappers:
orm.mapper(Content, table.content,
polymorphic_on = table.content.c.content_type_id,
...)
orm.mapper(News, table.news, inherits = Content,
polymorphic_on = table.content.c.content_type_id)
orm.mapper(PlatformNews, table.platform_news,
On Jul 16, 2010, at 7:34 AM, Julien Cigar wrote:
Hello,
I have the following mappers:
orm.mapper(Content, table.content,
polymorphic_on = table.content.c.content_type_id,
...)
orm.mapper(News, table.news, inherits = Content,
polymorphic_on = table.content.c.content_type_id)