more query refactoring.
This commit is contained in:
parent
684bbebb5c
commit
43f7e9e22d
|
@ -531,10 +531,7 @@ public function first($columns = array('*'))
|
||||||
*/
|
*/
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue