PostGraphile - ordering results by specific id

177 Views Asked by At

so I'm trying to do a query that fetches a certain id first.

i know the sql syntax is something along the lines of -

SELECT id, name, colour
FROM books
ORDER BY id=2 desc;

i am trying to figure out how to do the same thing in a postgraphile query with pagination

thank you very much!

0

There are 0 best solutions below