Hi,
I'm trying to use the "named cursor" function provided by postgres and
psycopg2 driver, but I can't figure out how to do it.

In "direct" sql, I can do:

con = psycopg2.connect('user=test password=test dbname=test')
cur = con.cursor("test")
cur.execute("SELECT * FROM test")

Is there a method to do it with sqlalchemy? On the doc I don't find
anything.

Thanks,
Michele

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to