Exemplo n.º 1
0
 /**
  * Query string associated with PDOStatement.
  *
  * @return string
  */
 public function queryString()
 {
     return QueryCompiler::interpolate($this->statement->queryString, $this->parameters);
 }
Exemplo n.º 2
0
 /**
  * Get interpolated (populated with parameters) SQL which will be run against database, please
  * use this method for debugging purposes only.
  *
  * @return string
  */
 public function queryString()
 {
     return $this->compiler->interpolate($this->sqlStatement(), $this->database->driver()->prepareParameters($this->getParameters()));
 }