Skip to content

Commit 14a4c10

Browse files
redgoldlaceelprans
authored andcommitted
Update parameter documentation & fix tests
1 parent c1b154c commit 14a4c10

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

asyncpg/connection.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ async def copy_to_table(self, table_name, *, source,
846846
An optional schema name to qualify the table.
847847
848848
:param str where:
849-
An optional condition used to filter rows when copying.
849+
An optional SQL expression used to filter rows when copying.
850850
851851
.. note::
852852
@@ -928,7 +928,7 @@ async def copy_records_to_table(self, table_name, *, records,
928928
An optional schema name to qualify the table.
929929
930930
:param str where:
931-
An optional condition used to filter rows when copying.
931+
An optional SQL expression used to filter rows when copying.
932932
933933
.. note::
934934
@@ -2408,7 +2408,8 @@ def _detect_server_capabilities(server_version, connection_settings):
24082408
notifications=notifications,
24092409
plpgsql=plpgsql,
24102410
sql_reset=sql_reset,
2411-
sql_close_all=sql_close_all
2411+
sql_close_all=sql_close_all,
2412+
sql_copy_from_where=sql_copy_from_where
24122413
)
24132414

24142415

0 commit comments

Comments
 (0)