From 0bafe7c57642e17cee92959dedbd77910e8ba096 Mon Sep 17 00:00:00 2001 From: Mauro Cassani Date: Sat, 21 Oct 2017 16:55:37 +0200 Subject: [PATCH] README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ae3044..e60d08c 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ $qb = QueryBuilder::create($array); $qb ->addCriterion('registration_date', '01/05/2017', 'GT_DATE', 'd/m/Y') ->addCriterion('rate', '3', '>') - ->sortedBy('registration_date', `DATE_DESC`, 'd/m/Y') + ->sortedBy('registration_date', 'DATE_DESC', 'd/m/Y') ->limit(0, 10); foreach ($qb->getResults() as $element){