code: def debug_query_result(rows: Sequence[Any]) -> None:
      
      log.info("Retrieved {} rows", len(rows))
      for i in range(len(rows)):
          log.info("Row {}: {}", i, rows[i])
docs: Writes a query result to the log.