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
| 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): |
Tested by
no test coverage detected