From aed97d97f8c5f5471a943c163ddcd0a6200a99f7 Mon Sep 17 00:00:00 2001 From: NikolayS Date: Fri, 11 Dec 2015 09:22:45 +0300 Subject: [PATCH] ordering with DESC & NULLS LAST together One more sample query which is probably one of most useful ones in real life (by default, DESC ordering leads to NULLS FIRST option, this is not so clear for beginners), showing how to combine ordering direction and NULLS *** for the same column. --- docs/api/reading.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/reading.md b/docs/api/reading.md index dd35df6da..5e5fb5b5f 100644 --- a/docs/api/reading.md +++ b/docs/api/reading.md @@ -169,6 +169,7 @@ If you care where nulls are sorted, add `nullsfirst` or `nullslast`: ```HTTP GET /people?order=age.nullsfirst +GET /people?order=age.desc.nullslast ``` You can also use [computed