Execute the statement and return a list of :class:`Record` objects. :param args: Query arguments. :param float timeout: Optional timeout value in seconds. :return: A list of :class:`Record` instances. .. versionadded:: 0.30.0
(self, args, *, timeout=None)
| 213 | |
| 214 | @connresource.guarded |
| 215 | async def fetchmany(self, args, *, timeout=None): |
| 216 | """Execute the statement and return a list of :class:`Record` objects. |
| 217 | |
| 218 | :param args: Query arguments. |
| 219 | :param float timeout: Optional timeout value in seconds. |
| 220 | |
| 221 | :return: A list of :class:`Record` instances. |
| 222 | |
| 223 | .. versionadded:: 0.30.0 |
| 224 | """ |
| 225 | return await self.__do_execute( |
| 226 | lambda protocol: protocol.bind_execute_many( |
| 227 | self._state, |
| 228 | args, |
| 229 | portal_name='', |
| 230 | timeout=timeout, |
| 231 | return_rows=True, |
| 232 | ) |
| 233 | ) |
| 234 | |
| 235 | @connresource.guarded |
| 236 | async def executemany(self, args, *, timeout: typing.Optional[float]=None): |
nothing calls this directly
no test coverage detected