Method
_execute
(
self,
query,
args,
limit,
timeout,
*,
return_status=False,
ignore_custom_codec=False,
record_class=None
)
Source from the content-addressed store, hash-verified
| 1890 | self._drop_global_statement_cache() |
| 1891 | |
| 1892 | async def _execute( |
| 1893 | self, |
| 1894 | query, |
| 1895 | args, |
| 1896 | limit, |
| 1897 | timeout, |
| 1898 | *, |
| 1899 | return_status=False, |
| 1900 | ignore_custom_codec=False, |
| 1901 | record_class=None |
| 1902 | ): |
| 1903 | with self._stmt_exclusive_section: |
| 1904 | result, _ = await self.__execute( |
| 1905 | query, |
| 1906 | args, |
| 1907 | limit, |
| 1908 | timeout, |
| 1909 | return_status=return_status, |
| 1910 | record_class=record_class, |
| 1911 | ignore_custom_codec=ignore_custom_codec, |
| 1912 | ) |
| 1913 | return result |
| 1914 | |
| 1915 | @contextlib.contextmanager |
| 1916 | def query_logger(self, callback): |
Tested by
no test coverage detected