async def METHOD_NAME(
    pool: DBPool,
    queries: FromQuery[str | None] = None,
) -> list[QueryResult]:
    num_queries = get_num_queries(queries)
    row_ids = sample(range(1, 10000), num_queries)
    connection: "asyncpg.Connection"
    async with pool.acquire() as connection:  # type: ignore
        statement = await connection.prepare(READ_ROW_SQL)  # type: ignore
        return [
            QueryResult.construct(
                id=row_id,
                randomNumber=await statement.fetchval(row_id),  # type: ignore
            )
            for row_id in row_ids
        ]