On Mon, Oct 07, 2013 at 11:28:21AM -0400, Michael Bayer wrote:
On Oct 7, 2013, at 6:06 AM, Julien Cigar jci...@ulb.ac.be wrote:
Hello,
I have the following query:
entity = orm.with_polymorphic(
Content, [Event, News]
)
q = db.Session.query(entity)
The Event class
On Oct 7, 2013, at 6:06 AM, Julien Cigar jci...@ulb.ac.be wrote:
Hello,
I have the following query:
entity = orm.with_polymorphic(
Content, [Event, News]
)
q = db.Session.query(entity)
The Event class has a country property:
orm.mapper(Event, table['event'], inherits =