Is there a way to order by random?
# help
n
Is there a way to order by random?
n
Hello @nahtnam! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
o
Hi No you can't filter by random, but can get values and they take a random @nahtnam
g
https://github.com/PostgREST/postgrest/issues/2257 goes into why PostgREST does not support it. You could do an rpc function and return a random setof rows if you really need it.
n
Gotcha, thank you very much!