original_string: public function getQuery(): string
      {
          $sql = $this->getSql();
  
          $sql = str_replace(['%', '?'], ['%%', '"%s"'], $sql);
  
          // replace mask by data
          return vsprintf($sql, $this->getParams());
      }
code: public function getQuery(): string
      {
          $sql = $this->getSql();
  
          $sql = str_replace(['%', '?'], ['%%', '"%s"'], $sql);
  
          // replace mask by data
          return vsprintf($sql, $this->getParams());
      }
code_tokens: public function getQuery ( ) : string { $ sql = $ this -> getSql ( ) ; $ sql = str_replace ( [ '%' , '?' ] , [ '%%' , '"%s"' ] , $ sql ) ; // replace mask by data return vsprintf ( $ sql , $ this -> getParams ( ) ) ; }
docstring: Return the complete SQL string formed for use
  
  Example
  <code>
  $sb = new SelectBuilder();
  $sb
  ->select('u')
  ->from('User', 'u')
  ->where('id = ?', 42);
  echo $qb->getQuery(); // SELECT u FROM User u WHERE id = "42"
  </code>
  
  @return string
docstring_tokens: Return the complete SQL string formed for use