diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-12-27 14:40:08 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-12-27 14:42:58 +0100 |
commit | bde9fc6dea578891c7bf2a6f5a7ecdc98978f642 (patch) | |
tree | 33bf1e1b35d5a0ee0018de6c7054c417b32f7b10 /lib | |
parent | 6fdac46137351d4e99fe2bebd43ab1b6135d160b (diff) | |
download | psycopg2-bde9fc6dea578891c7bf2a6f5a7ecdc98978f642.tar.gz |
Docs wordsmith for execute_values() fetch param
Diffstat (limited to 'lib')
-rw-r--r-- | lib/extras.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/extras.py b/lib/extras.py index 2785ea7..76bea85 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -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 |