original_string: public static function getCorrectSqlMode(string $sqlMode): string
    {
      $query = sprintf('set sql_mode = %s', self::$dl->quoteString($sqlMode));
      self::executeNone($query);
  
      $query = 'select @@sql_mode';
  
      return (string)self::executeSingleton1($query);
    }
code: public static function getCorrectSqlMode(string $sqlMode): string
    {
      $query = sprintf('set sql_mode = %s', self::$dl->quoteString($sqlMode));
      self::executeNone($query);
  
      $query = 'select @@sql_mode';
  
      return (string)self::executeSingleton1($query);
    }
code_tokens: public static function getCorrectSqlMode ( string $ sqlMode ) : string { $ query = sprintf ( 'set sql_mode = %s' , self :: $ dl -> quoteString ( $ sqlMode ) ) ; self :: executeNone ( $ query ) ; $ query = 'select @@sql_mode' ; return ( string ) self :: executeSingleton1 ( $ query ) ; }
docstring: Selects the SQL mode in the order as preferred by MySQL.
  
  @param string $sqlMode The SQL mode.
  
  @return string
docstring_tokens: Selects the SQL mode in the order as preferred by MySQL .