diff options
| author | Charlie Denton <charlie@meshy.co.uk> | 2021-02-19 16:29:49 +0000 |
|---|---|---|
| committer | Charlie Denton <charlie@meshy.co.uk> | 2021-02-19 16:29:49 +0000 |
| commit | d8547f80cee002cc3f15288997af3284ab12396b (patch) | |
| tree | 35ffc035268aadf6d85e6f436cf46ab6da65b3b3 | |
| parent | 203fd9ec9ccbaa63118b93371f749e12fc85f6de (diff) | |
| download | sqlalchemy-d8547f80cee002cc3f15288997af3284ab12396b.tar.gz | |
Typo stream_resuls -> stream_results
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/base.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index c80ff3f19..af35b3279 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -282,7 +282,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 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 |
