MCPcopy
hub / github.com/MagicStack/asyncpg / _execute

Method _execute

asyncpg/connection.py:1861–1882  ·  view source on GitHub ↗
(
        self,
        query,
        args,
        limit,
        timeout,
        *,
        return_status=False,
        ignore_custom_codec=False,
        record_class=None
    )

Source from the content-addressed store, hash-verified

1859 self._drop_global_statement_cache()
1860
1861 async def _execute(
1862 self,
1863 query,
1864 args,
1865 limit,
1866 timeout,
1867 *,
1868 return_status=False,
1869 ignore_custom_codec=False,
1870 record_class=None
1871 ):
1872 with self._stmt_exclusive_section:
1873 result, _ = await self.__execute(
1874 query,
1875 args,
1876 limit,
1877 timeout,
1878 return_status=return_status,
1879 record_class=record_class,
1880 ignore_custom_codec=ignore_custom_codec,
1881 )
1882 return result
1883
1884 @contextlib.contextmanager
1885 def query_logger(self, callback):

Callers 5

executeMethod · 0.95
_introspect_typeMethod · 0.95
fetchMethod · 0.95
fetchvalMethod · 0.95
fetchrowMethod · 0.95

Calls 1

__executeMethod · 0.95

Tested by

no test coverage detected