Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ functions
Functions
1,164 in github.com/MagicStack/asyncpg
⨍
Functions
1,164
◇
Types & classes
415
↳
Endpoints
6
Method
close
(self)
asyncpg/pool.py:300
Method
close_cb
(con)
tests/test_listeners.py:325
Method
configure
()
tests/test_connect.py:2172
Method
connect_primary
(cls, **kwargs)
asyncpg/_testbase/__init__.py:542
Method
connect_standby
(cls, **kwargs)
asyncpg/_testbase/__init__.py:547
Method
connection_lost
(self, exc: typing.Optional[Exception])
asyncpg/connect_utils.py:970
Method
copy_from_query
Copy the results of a query to a file or file-like object. :param str query: The query to copy the results of. :param ar
asyncpg/connection.py:901
Method
copy_from_table
Copy table contents to a file or file-like object. :param str table_name: The name of the table to copy data from. :para
asyncpg/connection.py:829
Method
copy_records_to_table
Copy a list of records to the specified table using binary COPY. :param str table_name: The name of the table to copy data to.
asyncpg/connection.py:1051
Method
copy_to_table
Copy data to the specified table. :param str table_name: The name of the table to copy data to. :param source:
asyncpg/connection.py:963
Function
create_pool
r"""Create a connection pool. Can be used either with an ``async with`` block: .. code-block:: python async with asyncpg.create_poo
asyncpg/pool.py:1201
Method
create_pool
(self, pool_class=pg_pool.Pool, connection_class=pg_connection.Connection, **kwargs)
asyncpg/_testbase/__init__.py:383
Method
cursor
Return a *cursor factory* for the prepared statement. :param args: Query arguments. :param int prefetch: The number of rows the *curs
asyncpg/prepared_stmt.py:104
Method
data_received
(self, data: bytes)
asyncpg/connect_utils.py:943
Method
delayed_drain
()
tests/test_timeout.py:262
Method
destroy
(self)
asyncpg/cluster.py:721
Method
emit
(self, record)
tests/test_pool.py:1600
Method
executemany
Execute an SQL *command* for each sequence of arguments in *args*. Example: .. code-block:: pycon >>> await con.execute
asyncpg/connection.py:389
Method
executemany
Execute the statement for each sequence of arguments in *args*. :param args: An iterable containing sequences of arguments. :param fl
asyncpg/prepared_stmt.py:236
Method
fetch
r"""Execute the statement and return a list of :class:`Record` objects. :param str query: Query text :param args: Query arguments
asyncpg/prepared_stmt.py:168
Method
fetch
r"""Return the next *n* rows as a list of :class:`Record` objects. :param float timeout: Optional timeout value in seconds. :return:
asyncpg/cursor.py:269
Method
fetchmany
Run a query for each sequence of arguments in *args* and return the results as a list of :class:`Record`. :param query: Q
asyncpg/connection.py:786
Method
fetchmany
Execute the statement and return a list of :class:`Record` objects. :param args: Query arguments. :param float timeout: Optional time
asyncpg/prepared_stmt.py:215
Method
fetchrow
Run a query and return the first row. :param str query: Query text :param args: Query arguments :para
asyncpg/connection.py:746
Method
fetchrow
Execute the statement and return the first row. :param str query: Query text :param args: Query arguments :param float timeou
asyncpg/prepared_stmt.py:200
Method
fetchrow
r"""Return the next row. :param float timeout: Optional timeout value in seconds. :return: A :class:`Record` instance.
asyncpg/cursor.py:287
Method
fetchval
Run a query and return a value in the first row. :param str query: Query text. :param args: Query arguments. :param int colum
asyncpg/connection.py:725
Method
finalize_options
(self)
setup.py:160
Method
finish
()
tests/test_connect.py:2177
Function
flt
(log_record)
asyncpg/_testbase/__init__.py:32
Method
gen
()
tests/test_execute.py:265
Method
get_connection_spec
(self)
asyncpg/cluster.py:706
Method
get_connection_spec
(cls, kwargs)
asyncpg/_testbase/__init__.py:424
Method
get_connection_spec
(cls, kwargs={})
asyncpg/_testbase/__init__.py:526
Method
get_correctpassword
()
tests/test_connect.py:279
Method
get_data_dir
(self)
asyncpg/cluster.py:97
Method
get_max_size
(self)
asyncpg/connection.py:2568
Function
get_pg_home_directory
()
asyncpg/compat.py:26
Method
get_proxy_settings
(cls)
asyncpg/_testbase/__init__.py:400
Method
get_server_settings
(cls)
tests/test_connect.py:2032
Method
get_server_settings
(cls)
tests/test_introspection.py:47
Method
get_server_settings
(cls)
asyncpg/_testbase/__init__.py:394
Method
get_status
(self)
asyncpg/cluster.py:709
Method
get_wrongpassword
()
tests/test_connect.py:282
Method
get_xact_id
(con)
tests/test_pool.py:583
Function
guarded
A decorator to add a sanity check to ConnectionResource methods.
asyncpg/connresource.py:14
Method
handler
(loop, ctx)
asyncpg/_testbase/__init__.py:160
Method
hstore_decoder
(data)
tests/test_codecs.py:1238
Method
hstore_encoder
(obj)
tests/test_codecs.py:1247
Method
init
(con)
tests/test_pool.py:173
Method
init
Initialize cluster.
asyncpg/cluster.py:650
Method
init
(self, **settings)
asyncpg/cluster.py:712
Method
initialize_options
(self)
setup.py:131
Method
interrupted_connector
(factory, *args, **kwargs)
tests/test_connect.py:1766
Function
is_composite_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:295
Function
is_domain_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:291
Method
is_managed
(self)
asyncpg/cluster.py:703
Function
is_scalar_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:284
Method
isempty
(self)
asyncpg/types.py:131
Method
kill_connectivity
()
tests/test_adversity.py:95
Method
listener1
(*args)
tests/test_listeners.py:27
Method
listener1
(*args)
tests/test_listeners.py:308
Method
listener2
(*args)
tests/test_listeners.py:30
Method
locker
()
tests/test_execute.py:301
Method
loop_exception_handler
(self, loop, context)
asyncpg/_testbase/__init__.py:180
Method
lower_inc
(self)
asyncpg/types.py:111
Method
lower_inf
(self)
asyncpg/types.py:115
Method
make_release_tree
(self, base_dir, files)
setup.py:104
Function
markcoroutinefunction
(c)
asyncpg/compat.py:57
Method
new
(cls, fields, query=None)
asyncpg/exceptions/_base.py:282
Method
notice_callb
(con, message)
tests/test_listeners.py:130
Method
query_saver
(record)
tests/test_logging.py:20
Method
raise_message
(level, code)
tests/test_listeners.py:274
Method
raise_notice
()
tests/test_listeners.py:142
Method
raise_warning
()
tests/test_listeners.py:149
Function
record_contains
asyncpg/protocol/record/recordobj.c:279
Function
record_dealloc
asyncpg/protocol/record/recordobj.c:170
Function
record_desc_dealloc
asyncpg/protocol/record/recordobj.c:1004
Function
record_desc_make_record
asyncpg/protocol/record/recordobj.c:1092
Function
record_desc_new
Fallback wrapper for when there is no vectorcall support */
asyncpg/protocol/record/recordobj.c:1067
Function
record_desc_traverse
asyncpg/protocol/record/recordobj.c:1015
Method
record_generator
()
tests/test_copy.py:688
Function
record_get
asyncpg/protocol/record/recordobj.c:676
Function
record_hash
asyncpg/protocol/record/recordobj.c:244
Function
record_items
asyncpg/protocol/record/recordobj.c:663
Function
record_items_dealloc
asyncpg/protocol/record/recordobj.c:875
Function
record_items_len
asyncpg/protocol/record/recordobj.c:943
Function
record_items_next
asyncpg/protocol/record/recordobj.c:894
Function
record_items_traverse
asyncpg/protocol/record/recordobj.c:886
Function
record_iter
asyncpg/protocol/record/recordobj.c:625
Function
record_iter_dealloc
asyncpg/protocol/record/recordobj.c:779
Function
record_iter_len
asyncpg/protocol/record/recordobj.c:819
Function
record_iter_next
asyncpg/protocol/record/recordobj.c:796
Function
record_iter_traverse
asyncpg/protocol/record/recordobj.c:789
Function
record_keys
asyncpg/protocol/record/recordobj.c:652
Function
record_length
asyncpg/protocol/record/recordobj.c:272
Function
record_module_exec
asyncpg/protocol/record/recordobj.c:1164
Function
record_module_free
asyncpg/protocol/record/recordobj.c:1258
Function
record_module_traverse
asyncpg/protocol/record/recordobj.c:1205
Function
record_new
asyncpg/protocol/record/recordobj.c:713
← previous
next →
601–700 of 1,164, ranked by callers