Skip to content

Commit 868d6f5

Browse files
authored
Update queries.md
1 parent f55d2a8 commit 868d6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ The `reorder` method allows you to remove all the existing orders and optionally
598598

599599
$unorderedUsers = $query->reorder()->get();
600600

601-
To apply a new order at the same time, include the column you wish to sort by as the first argument and the direction as the second argument:
601+
To remove all existing orders and apply a new order, provide the column and direction as arguments to the method:
602602

603603
$query = DB::table('users')->orderBy('name');
604604

0 commit comments

Comments
 (0)