MCPcopy Create free account

hub / github.com/MagicStack/asyncpg / functions

Functions1,164 in github.com/MagicStack/asyncpg

Methodclose
(self)
asyncpg/pool.py:300
Methodclose_cb
(con)
tests/test_listeners.py:325
Methodconfigure
()
tests/test_connect.py:2172
Methodconnect_primary
(cls, **kwargs)
asyncpg/_testbase/__init__.py:542
Methodconnect_standby
(cls, **kwargs)
asyncpg/_testbase/__init__.py:547
Methodconnection_lost
(self, exc: typing.Optional[Exception])
asyncpg/connect_utils.py:970
Methodcopy_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
Methodcopy_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
Methodcopy_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
Methodcopy_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
Functioncreate_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
Methodcreate_pool
(self, pool_class=pg_pool.Pool, connection_class=pg_connection.Connection, **kwargs)
asyncpg/_testbase/__init__.py:383
Methodcursor
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
Methoddata_received
(self, data: bytes)
asyncpg/connect_utils.py:943
Methoddelayed_drain
()
tests/test_timeout.py:262
Methoddestroy
(self)
asyncpg/cluster.py:721
Methodemit
(self, record)
tests/test_pool.py:1600
Methodexecutemany
Execute an SQL *command* for each sequence of arguments in *args*. Example: .. code-block:: pycon >>> await con.execute
asyncpg/connection.py:389
Methodexecutemany
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
Methodfetch
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
Methodfetch
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
Methodfetchmany
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
Methodfetchmany
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
Methodfetchrow
Run a query and return the first row. :param str query: Query text :param args: Query arguments :para
asyncpg/connection.py:746
Methodfetchrow
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
Methodfetchrow
r"""Return the next row. :param float timeout: Optional timeout value in seconds. :return: A :class:`Record` instance.
asyncpg/cursor.py:287
Methodfetchval
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
Methodfinalize_options
(self)
setup.py:160
Methodfinish
()
tests/test_connect.py:2177
Functionflt
(log_record)
asyncpg/_testbase/__init__.py:32
Methodgen
()
tests/test_execute.py:265
Methodget_connection_spec
(self)
asyncpg/cluster.py:706
Methodget_connection_spec
(cls, kwargs)
asyncpg/_testbase/__init__.py:424
Methodget_connection_spec
(cls, kwargs={})
asyncpg/_testbase/__init__.py:526
Methodget_correctpassword
()
tests/test_connect.py:279
Methodget_data_dir
(self)
asyncpg/cluster.py:97
Methodget_max_size
(self)
asyncpg/connection.py:2568
Functionget_pg_home_directory
()
asyncpg/compat.py:26
Methodget_proxy_settings
(cls)
asyncpg/_testbase/__init__.py:400
Methodget_server_settings
(cls)
tests/test_connect.py:2032
Methodget_server_settings
(cls)
tests/test_introspection.py:47
Methodget_server_settings
(cls)
asyncpg/_testbase/__init__.py:394
Methodget_status
(self)
asyncpg/cluster.py:709
Methodget_wrongpassword
()
tests/test_connect.py:282
Methodget_xact_id
(con)
tests/test_pool.py:583
Functionguarded
A decorator to add a sanity check to ConnectionResource methods.
asyncpg/connresource.py:14
Methodhandler
(loop, ctx)
asyncpg/_testbase/__init__.py:160
Methodhstore_decoder
(data)
tests/test_codecs.py:1238
Methodhstore_encoder
(obj)
tests/test_codecs.py:1247
Methodinit
(con)
tests/test_pool.py:173
Methodinit
Initialize cluster.
asyncpg/cluster.py:650
Methodinit
(self, **settings)
asyncpg/cluster.py:712
Methodinitialize_options
(self)
setup.py:131
Methodinterrupted_connector
(factory, *args, **kwargs)
tests/test_connect.py:1766
Functionis_composite_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:295
Functionis_domain_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:291
Methodis_managed
(self)
asyncpg/cluster.py:703
Functionis_scalar_type
(typeinfo: protocol.Record)
asyncpg/introspection.py:284
Methodisempty
(self)
asyncpg/types.py:131
Methodkill_connectivity
()
tests/test_adversity.py:95
Methodlistener1
(*args)
tests/test_listeners.py:27
Methodlistener1
(*args)
tests/test_listeners.py:308
Methodlistener2
(*args)
tests/test_listeners.py:30
Methodlocker
()
tests/test_execute.py:301
Methodloop_exception_handler
(self, loop, context)
asyncpg/_testbase/__init__.py:180
Methodlower_inc
(self)
asyncpg/types.py:111
Methodlower_inf
(self)
asyncpg/types.py:115
Methodmake_release_tree
(self, base_dir, files)
setup.py:104
Functionmarkcoroutinefunction
(c)
asyncpg/compat.py:57
Methodnew
(cls, fields, query=None)
asyncpg/exceptions/_base.py:282
Methodnotice_callb
(con, message)
tests/test_listeners.py:130
Methodquery_saver
(record)
tests/test_logging.py:20
Methodraise_message
(level, code)
tests/test_listeners.py:274
Methodraise_notice
()
tests/test_listeners.py:142
Methodraise_warning
()
tests/test_listeners.py:149
Functionrecord_contains
asyncpg/protocol/record/recordobj.c:279
Functionrecord_dealloc
asyncpg/protocol/record/recordobj.c:170
Functionrecord_desc_dealloc
asyncpg/protocol/record/recordobj.c:1004
Functionrecord_desc_make_record
asyncpg/protocol/record/recordobj.c:1092
Functionrecord_desc_new
Fallback wrapper for when there is no vectorcall support */
asyncpg/protocol/record/recordobj.c:1067
Functionrecord_desc_traverse
asyncpg/protocol/record/recordobj.c:1015
Methodrecord_generator
()
tests/test_copy.py:688
Functionrecord_get
asyncpg/protocol/record/recordobj.c:676
Functionrecord_hash
asyncpg/protocol/record/recordobj.c:244
Functionrecord_items
asyncpg/protocol/record/recordobj.c:663
Functionrecord_items_dealloc
asyncpg/protocol/record/recordobj.c:875
Functionrecord_items_len
asyncpg/protocol/record/recordobj.c:943
Functionrecord_items_next
asyncpg/protocol/record/recordobj.c:894
Functionrecord_items_traverse
asyncpg/protocol/record/recordobj.c:886
Functionrecord_iter
asyncpg/protocol/record/recordobj.c:625
Functionrecord_iter_dealloc
asyncpg/protocol/record/recordobj.c:779
Functionrecord_iter_len
asyncpg/protocol/record/recordobj.c:819
Functionrecord_iter_next
asyncpg/protocol/record/recordobj.c:796
Functionrecord_iter_traverse
asyncpg/protocol/record/recordobj.c:789
Functionrecord_keys
asyncpg/protocol/record/recordobj.c:652
Functionrecord_length
asyncpg/protocol/record/recordobj.c:272
Functionrecord_module_exec
asyncpg/protocol/record/recordobj.c:1164
Functionrecord_module_free
asyncpg/protocol/record/recordobj.c:1258
Functionrecord_module_traverse
asyncpg/protocol/record/recordobj.c:1205
Functionrecord_new
asyncpg/protocol/record/recordobj.c:713
← previousnext →601–700 of 1,164, ranked by callers