mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-03-03 07:45:45 +03:00
Docs wordsmith for execute_values() fetch param
This commit is contained in:
parent
6fdac46137
commit
bde9fc6dea
|
@ -1024,7 +1024,7 @@ parameters. By reducing the number of server roundtrips the performance can be
|
|||
|
||||
.. versionadded:: 2.7
|
||||
.. versionchanged:: 2.8
|
||||
added the *fetch* parameter
|
||||
added the *fetch* parameter.
|
||||
|
||||
|
||||
.. index::
|
||||
|
|
|
@ -1229,8 +1229,9 @@ def execute_values(cur, sql, argslist, template=None, page_size=100, fetch=False
|
|||
statement. If there are more items the function will execute more than
|
||||
one statement.
|
||||
|
||||
:param fetch: flag indicating that results of query execution should
|
||||
be returned. Useful for queries with `RETURNING` clause
|
||||
:param fetch: if `!True` return the query results into a list (like in a
|
||||
`~cursor.fetchall()`). Useful for queries with :sql:`RETURNING`
|
||||
clause.
|
||||
|
||||
.. __: https://www.postgresql.org/docs/current/static/queries-values.html
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user