original_string: public static function executeBulk(BulkHandler $bulkHandler, string $query): void
    {
      self::realQuery($query);
  
      $bulkHandler->start();
  
      $result = self::$mysqli->use_result();
      while (($row = $result->fetch_assoc()))
      {
        $bulkHandler->row($row);
      }
      $result->free();
  
      $bulkHandler->stop();
  
      if (self::$mysqli->more_results()) self::$mysqli->next_result();
    }
code: public static function executeBulk(BulkHandler $bulkHandler, string $query): void
    {
      self::realQuery($query);
  
      $bulkHandler->start();
  
      $result = self::$mysqli->use_result();
      while (($row = $result->fetch_assoc()))
      {
        $bulkHandler->row($row);
      }
      $result->free();
  
      $bulkHandler->stop();
  
      if (self::$mysqli->more_results()) self::$mysqli->next_result();
    }
code_tokens: public static function executeBulk ( BulkHandler $ bulkHandler , string $ query ) : void { self :: realQuery ( $ query ) ; $ bulkHandler -> start ( ) ; $ result = self :: $ mysqli -> use_result ( ) ; while ( ( $ row = $ result -> fetch_assoc ( ) ) ) { $ bulkHandler -> row ( $ row ) ; } $ result -> free ( ) ; $ bulkHandler -> stop ( ) ; if ( self :: $ mysqli -> more_results ( ) ) self :: $ mysqli -> next_result ( ) ; }
docstring: Executes a query using a bulk handler.
  
  @param BulkHandler $bulkHandler The bulk handler.
  @param string      $query       The SQL statement.
  
  @since 1.0.0
  @api
docstring_tokens: Executes a query using a bulk handler .