From 81a228683e8d54c9b05719514e4587a45b746a7a Mon Sep 17 00:00:00 2001 From: Roy de Jong Date: Mon, 24 Jun 2024 17:43:15 +0200 Subject: [PATCH] chore: fix orderBy example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6a6ad5..2e9fed9 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ You can easily build and run custom queries, and get results in various ways - f $matchingCars = Car::query() ->where('make = ?', 'Toyota') ->andWhere('year > ?', 2000) - ->orderBy('year', 'DESC') + ->orderBy('year DESC') ->limit(10) ->queryAllModels(); // Car[] ```