Skip to content

Commit 2e8df01

Browse files
redgoldlaceelprans
authored andcommitted
Update parameter documentation & fix tests
1 parent ec783cf commit 2e8df01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

asyncpg/connection.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ async def copy_to_table(self, table_name, *, source,
852852
An optional schema name to qualify the table.
853853
854854
:param str where:
855-
An optional condition used to filter rows when copying.
855+
An optional SQL expression used to filter rows when copying.
856856
857857
.. note::
858858
@@ -934,7 +934,7 @@ async def copy_records_to_table(self, table_name, *, records,
934934
An optional schema name to qualify the table.
935935
936936
:param str where:
937-
An optional condition used to filter rows when copying.
937+
An optional SQL expression used to filter rows when copying.
938938
939939
.. note::
940940
@@ -2452,7 +2452,8 @@ def _detect_server_capabilities(server_version, connection_settings):
24522452
notifications=notifications,
24532453
plpgsql=plpgsql,
24542454
sql_reset=sql_reset,
2455-
sql_close_all=sql_close_all
2455+
sql_close_all=sql_close_all,
2456+
sql_copy_from_where=sql_copy_from_where
24562457
)
24572458

24582459

0 commit comments

Comments
 (0)