]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Typo stream_resuls -> stream_results 5960/head
authorCharlie Denton <charlie@meshy.co.uk>
Fri, 19 Feb 2021 16:29:49 +0000 (16:29 +0000)
committerCharlie Denton <charlie@meshy.co.uk>
Fri, 19 Feb 2021 16:29:49 +0000 (16:29 +0000)
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/postgresql/base.py

index c80ff3f19a44c9d48788b97fa4822de5cf2fea60..af35b3279b3d1eb0c142259552a0dbb396c1f734 100644 (file)
@@ -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
index 7e821acde308ea094871c6d85f04bf20aa3cf2b4..336265552813a79b12fcf1a866bcf8bba5d96450 100644 (file)
@@ -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