From c784d2235ef988e10fb4b482a0843d48982f4ed4 Mon Sep 17 00:00:00 2001 From: "Vincent (Wen Yu) Ge" Date: Fri, 30 Sep 2022 18:39:49 +0000 Subject: [PATCH 1/2] Addresses issue #260 --- app/views/docs/databases.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/docs/databases.phtml b/app/views/docs/databases.phtml index 2cf6a5bfa..d0beb1a63 100644 --- a/app/views/docs/databases.phtml +++ b/app/views/docs/databases.phtml @@ -551,7 +551,7 @@ func main() async throws {

Ordering Results

-

When querying using the listDocuments endpoint, you can specify the order of the documents returned using the "Query.orderAsc()" and "Query.orderDesc()" query methods.

+

When querying using the listDocuments endpoint, you can specify the order of the documents returned using the Query.orderAsc() and Query.orderDesc() query methods.

-

To sort based on multiple attributes, pass multiple attribute IDs into orderAttributes. The order of the attribute IDs indicate their sort precedence. There must be an index with all attributes used to allow sorting with multiple attributes.

+

To sort based on multiple attributes, simply introduct multiple query methods.

-

To sort based on multiple attributes, simply introduct multiple query methods.

+

To sort based on multiple attributes, simply provide multiple query methods.