Re: [sqlalchemy] Filters on polymorphic unions

2012-10-10 Thread Benjamin Gonzalez
I tried the example you showed in the last post and it worked. Thank you so much! I know this is a very uncommon use case, so I really appreciate the help. Thanks again, Ben On Tuesday, October 9, 2012 5:26:40 PM UTC-5, Michael Bayer wrote: On Oct 9, 2012, at 5:42 PM, Michael Bayer wrote:

[sqlalchemy] Filters on polymorphic unions

2012-10-09 Thread Benjamin Gonzalez
Hi, I've been using SQLAlchemy for the last couple of weeks. I'll definitely call myself a beginner so I apologize if I'm missing something obvious with this question :) I'm working with a database where there is data split across tables with the exact same structure, so there are cases

Re: [sqlalchemy] Filters on polymorphic unions

2012-10-09 Thread Michael Bayer
On Oct 9, 2012, at 9:54 AM, Benjamin Gonzalez wrote: Hi, I've been using SQLAlchemy for the last couple of weeks. I'll definitely call myself a beginner so I apologize if I'm missing something obvious with this question :) I'm working with a database where there is data split

Re: [sqlalchemy] Filters on polymorphic unions

2012-10-09 Thread Michael Bayer
On Oct 9, 2012, at 5:42 PM, Michael Bayer wrote: On Oct 9, 2012, at 2:17 PM, Benjamin Gonzalez wrote: Thanks for the valuable suggestions. You are actually correct: the scheme that they are using is sharding across tables, that's why the structure is the same. And the way I was