Merge pull request #8020 from votintsev/patch-2

Update db-query-builder.md [skip ci]
This commit is contained in:
Alexander Makarov
2015-04-09 01:05:06 +03:00

View File

@ -383,7 +383,7 @@ If `GROUP BY` only involves simple column names, you can specify it using a stri
raw SQLs. For example, raw SQLs. For example,
```php ```php
$query->groupBy('id, status']); $query->groupBy('id, status');
``` ```
> Note: You should use the array format if `GROUP BY` involves some DB expression. > Note: You should use the array format if `GROUP BY` involves some DB expression.