more query refactoring.
This commit is contained in:
@@ -531,10 +531,7 @@ class Query {
|
|||||||
*/
|
*/
|
||||||
public function get($columns = array('*'))
|
public function get($columns = array('*'))
|
||||||
{
|
{
|
||||||
if (is_null($this->select))
|
if (is_null($this->select)) $this->select($columns);
|
||||||
{
|
|
||||||
$this->select($columns);
|
|
||||||
}
|
|
||||||
|
|
||||||
$results = $this->connection->query($this->compiler->select($this), $this->bindings);
|
$results = $this->connection->query($this->compiler->select($this), $this->bindings);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user