for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Jared King <[email protected]>
*
* @link http://jaredtking.com
* @copyright 2015 Jared King
* @license MIT
*/
namespace JAQB\Query;
class SqlQuery extends Query
{
use SelectableTrait;
* @var string
protected $sql;
public function initialize()
// NOOP
}
* Sets the SQL for the query.
* @param string $sql
* @return self
public function raw($sql)
$this->sql = $sql;
return $this;
* Sets the parameters for this query to be injected into
* the prepared statement.
public function parameters(array $values)
$this->values = $values;
public function build()
return $this->sql;