[sqlalchemy] Can't find any foreign key relationships between ...

2012-12-04 Thread Diego Woitasen
Hi, I have the following tables: rcpt_group_asoc = Table(mailing_rcptgroup_rcpts, Base.metadata, Column('rcpt_id', Integer, ForeignKey('mailing_rcpt.id')), Column('rcptgroup_id', Integer, ForeignKey('mailing_rcptgroup.id'))) class Rcpt(Base): __tablename__

Re: [sqlalchemy] Can't find any foreign key relationships between ...

2012-12-04 Thread Michael Bayer
On Dec 4, 2012, at 2:30 PM, Diego Woitasen wrote: Hi, I have the following tables: rcpt_group_asoc = Table(mailing_rcptgroup_rcpts, Base.metadata, Column('rcpt_id', Integer, ForeignKey('mailing_rcpt.id')), Column('rcptgroup_id', Integer,

Re: [sqlalchemy] Can't find any foreign key relationships between ...

2012-12-04 Thread Diego Woitasen
On Tuesday, December 4, 2012 5:12:51 PM UTC-3, Michael Bayer wrote: On Dec 4, 2012, at 2:30 PM, Diego Woitasen wrote: Hi, I have the following tables: rcpt_group_asoc = Table(mailing_rcptgroup_rcpts, Base.metadata, Column('rcpt_id', Integer,

Re: [sqlalchemy] Can't find any foreign key relationships between ...

2012-12-04 Thread Michael Bayer
On Dec 4, 2012, at 4:32 PM, Diego Woitasen wrote: I'm mixing ORM and Core in my app because I performance in critical in some parts of the code. Are there other problems related to this mix? I wouldn't call them problems, but to the degree that you're using plain Core