Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 278ebdf

Browse files
committed
WIP
1 parent 6000b5c commit 278ebdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ $users = User::query()
6161
$join->on('users.id', '=', 'statistics.id')
6262
->where('statistics.table', 'users');
6363
})
64-
->get(['users.name', DB::raw('`values`->"$.post_count" AS `posts`')])
6564
->orderByRaw('`values`->"$.post_count" DESC')
65+
->get(['users.name', DB::raw('`values`->"$.post_count" AS `posts`')])
6666
```
6767

6868
| Name | Posts |

0 commit comments

Comments
 (0)