Skip to content

Commit

Permalink
Fix typo (#1)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
willnet committed Mar 11, 2024
1 parent 6724e76 commit 0c26280
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 @@ -157,7 +157,7 @@ page = paginator.fetch

#### Order by more complex logic

Sometimes you might not only want to oder by a column ascending or descending, but need more complex logic.
Sometimes you might not only want to order by a column ascending or descending, but need more complex logic.
Imagine you would also store the post's `category` on the `posts` table (as a plain string for simplicity's sake).
And the category could be `pinned`, `announcement`, or `general`.
Then you might want to show all `pinned` posts first, followed by the `announcement` ones and lastly show the `general` posts.
Expand Down

0 comments on commit 0c26280

Please sign in to comment.