stream_results cursor name

10 views
Skip to first unread message

Massimiliano della Rovere

unread,
Oct 5, 2020, 6:01:29 AM10/5/20
to sqlal...@googlegroups.com
When using .execution_options(stream_results=True), is it possible to pass the cursor name too?

Mike Bayer

unread,
Oct 5, 2020, 8:41:22 AM10/5/20
to noreply-spamdigest via sqlalchemy
it's not.   if you want to work with named cursors in a DBAPI-specific way I would follow the guidelines at https://docs.sqlalchemy.org/en/13/core/connections.html#working-with-raw-dbapi-connections .



On Mon, Oct 5, 2020, at 11:00 AM, Massimiliano della Rovere wrote:
When using .execution_options(stream_results=True), is it possible to pass the cursor name too?


--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
 
 
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages