Merge remote-tracking branch 'cooperl22/master'

This commit is contained in:
Lucas Mezêncio 2016-08-24 09:56:49 -03:00
commit 1d08883ef7
2 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,10 @@ class DB2Grammar extends Grammar
*/
public function compileSelect(Builder $query)
{
if (is_null($query->columns)) {
$query->columns = array('*');
}
$components = $this->compileComponents($query);
// If an offset is present on the query, we will need to wrap the query in