Re: [sqlalchemy] How to return object with maximum column via a mapper?

2010-02-18 Thread Hermann Himmelbauer
Am Donnerstag 18 Februar 2010 02:07:15 schrieb Michael Bayer: On Feb 17, 2010, at 12:27 PM, Hermann Himmelbauer wrote: Hi, I have the following many to one relation: - A bank account table (acc) - An Interest rate table, which relates to the account table. Colums are an ID, a rate

[sqlalchemy] How to return object with maximum column via a mapper?

2010-02-17 Thread Hermann Himmelbauer
Hi, I have the following many to one relation: - A bank account table (acc) - An Interest rate table, which relates to the account table. Colums are an ID, a rate (decimal), a date and a flag outlining if the interest rate is credit or debit ('H' / 'S') - One account may have multiple interest

Re: [sqlalchemy] How to return object with maximum column via a mapper?

2010-02-17 Thread Michael Bayer
On Feb 17, 2010, at 12:27 PM, Hermann Himmelbauer wrote: Hi, I have the following many to one relation: - A bank account table (acc) - An Interest rate table, which relates to the account table. Colums are an ID, a rate (decimal), a date and a flag outlining if the interest rate is