Re: [sqlalchemy] Using SQLAlchemy to call stored procedures

2010-04-27 Thread David Gardner
Not sure about Oracle, but you should be able to do something like: from sqlalchemy import func session.query(Employee).filter(Employee.something.in_(func.retrieveList()).all() Not sure about how to get the cursor object. On 04/24/2010 10:38 AM, Mark wrote: Hi everyone, I'm currently

[sqlalchemy] Using SQLAlchemy to call stored procedures

2010-04-24 Thread Mark
Hi everyone, I'm currently trying to convert an existing Zope web application over to Pylons. My DBA created a whole bunch of stored procedures for the web application that I would really love to use in my Pylons project. Some of the stored procedures takes a cursor as an argument. I'm not very