[sqlalchemy] Database Views

2010-11-08 Thread Adrian
Hi all, This is a topic that has been discussed before, but I haven't been able to successfully implement any of the proposed solutions in my own code. I've created a few Views in my postgres database, and I'm looking for a way to simply query them from sqlalchemy. I tried just treating them as

Re: [sqlalchemy] Database Views

2010-11-08 Thread A.M.
On Nov 8, 2010, at 1:16 PM, Adrian wrote: Hi all, This is a topic that has been discussed before, but I haven't been able to successfully implement any of the proposed solutions in my own code. I've created a few Views in my postgres database, and I'm looking for a way to simply query

Re: [sqlalchemy] Database Views

2010-11-08 Thread Michael Bayer
On Nov 8, 2010, at 1:16 PM, Adrian wrote: Hi all, This is a topic that has been discussed before, but I haven't been able to successfully implement any of the proposed solutions in my own code. I've created a few Views in my postgres database, and I'm looking for a way to simply query

[sqlalchemy] Database views

2007-10-05 Thread Werner F. Bruhin
In my existing Firebird database I have some views defined. In the model I thought I could just go ahead and define them basically like tables but I get an exception: Traceback (most recent call last): File saTest.py, line 4, in module import modelTest as model File