Skip to content

Commit 98bb3eb

Browse files
authored
fix: typo in docs (#199)
1 parent 3c1af9b commit 98bb3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ User::orderByPowerJoins('profile.city');
295295
If you need to pass some raw values for the order by function, you can do like this:
296296

297297
```php
298-
User::orderByPowerJoins(['profile', DB::raw('concat(city, ", ", state)']);
298+
User::orderByPowerJoins(['profile', DB::raw('concat(city, ", ", state)')]);
299299
```
300300

301301
This query will sort the results based on the `city` column on the `user_profiles` table. You can also sort your results by aggregations (`COUNT`, `SUM`, `AVG`, `MIN` or `MAX`).

0 commit comments

Comments
 (0)