Re: [sqlalchemy] SqlSoup - Error in relate

2012-03-26 Thread temo
anyway this is why SQLsoup is spun off as it's own project now (it won't be in SQLAlchemy 0.8), it really needs someone to maintain/document it as it's very old. On Mar 24, 2012, at 11:38 PM, temo wrote: -- You received this message because you are subscribed to the Google Groups

Re: [sqlalchemy] SqlSoup - Error in relate

2012-03-24 Thread temo
do not store any information about FOREIGN KEY constraints and thus SQLAlchemy doesn't know they exist when SQLSoup reflects the structure of the tables from the database. On Mar 24, 2012, at 12:47 AM, temo wrote: Hi Im mapping a database with sqlsoup and when use db.relate shows

[sqlalchemy] SqlSoup - Error in relate

2012-03-23 Thread temo
Hi Im mapping a database with sqlsoup and when use db.relate shows this error: sqlalchemy.exc.ArgumentError: Could not determine join condition between parent/child tables on relationship MappedCatalog_unit.catalog_product. Specify a 'primaryjoin' expression. If 'secondary' is present,