From d8547f80cee002cc3f15288997af3284ab12396b Mon Sep 17 00:00:00 2001 From: Charlie Denton Date: Fri, 19 Feb 2021 16:29:49 +0000 Subject: Typo stream_resuls -> stream_results --- lib/sqlalchemy/dialects/postgresql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql/base.py') diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 7e821acde..336265552 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -124,7 +124,7 @@ Server side cursors are enabled on a per-statement basis by using the option:: with engine.connect() as conn: - result = conn.execution_options(stream_resuls=True).execute(text("select * from table")) + result = conn.execution_options(stream_results=True).execute(text("select * from table")) Note that some kinds of SQL statements may not be supported with server side cursors; generally, only SQL statements that return rows should be -- cgit v1.2.1