Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Cassani committed Oct 21, 2017
1 parent c9b92f5 commit 0bafe7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 0bafe7c

Please sign in to comment.