Is there a way order documents by multiple columns/fields via the REST API, similar to how you can with SQL:
ORDER BY column1, column2, ...
TIA!
I should have specified, using postgres. [Looking at the source code](
https://github.com/payloadcms/payload/blob/32ed95e1ee87409db234f1b7bd6d2e462fd9ed5d/packages/db-postgres/src/queries/buildQuery.ts) it unfortunately doesn't appear to be supported.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.