Fix missing select clause on some queries.
This commit is contained in:
parent
ecba8b0b03
commit
5b8fa9da42
@ -40,6 +40,8 @@ class DB2Grammar extends Grammar
|
|||||||
*/
|
*/
|
||||||
public function compileSelect(Builder $query)
|
public function compileSelect(Builder $query)
|
||||||
{
|
{
|
||||||
|
if (is_null($query->columns)) $query->columns = array('*');
|
||||||
|
|
||||||
$components = $this->compileComponents($query);
|
$components = $this->compileComponents($query);
|
||||||
|
|
||||||
// If an offset is present on the query, we will need to wrap the query in
|
// If an offset is present on the query, we will need to wrap the query in
|
||||||
|
Loading…
Reference in New Issue
Block a user