-
|
How to order by custom values, similar to sql's Also, would be nice if it were possible to write more complex ordering logic, like "if field value contains 'red' - this goes first, if 'blue' - goes second, and the rest goes aftewards". |
Beta Was this translation helpful? Give feedback.
Answered by
elprans
Mar 5, 2023
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
divan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
order byaccepts arbitrary expressions, so you can use theifconditional: