Commit 43f7e9e2 by Taylor Otwell

more query refactoring.

parent 684bbebb
......@@ -531,10 +531,7 @@ class Query {
*/
public function get($columns = array('*'))
{
if (is_null($this->select))
{
$this->select($columns);
}
if (is_null($this->select)) $this->select($columns);
$results = $this->connection->query($this->compiler->select($this), $this->bindings);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment