summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorCharlie Denton <charlie@meshy.co.uk>2021-02-19 16:29:49 +0000
committerCharlie Denton <charlie@meshy.co.uk>2021-02-19 16:29:49 +0000
commitd8547f80cee002cc3f15288997af3284ab12396b (patch)
tree35ffc035268aadf6d85e6f436cf46ab6da65b3b3 /lib/sqlalchemy/dialects/postgresql/base.py
parent203fd9ec9ccbaa63118b93371f749e12fc85f6de (diff)
downloadsqlalchemy-d8547f80cee002cc3f15288997af3284ab12396b.tar.gz
Typo stream_resuls -> stream_results
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py2
1 files changed, 1 insertions, 1 deletions
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