Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit c784d22

Browse files
author
Vincent (Wen Yu) Ge
committed
Addresses issue #260
1 parent 1b1b328 commit c784d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/docs/databases.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func main() async throws {
551551
</table>
552552

553553
<h3><a href="/docs/databases#ordering" id="ordering">Ordering Results</a></h3>
554-
<p>When querying using the <a href="/docs/server/databases#databasesListDocuments">listDocuments</a> endpoint, you can specify the order of the documents returned using the "Query.orderAsc()" and "Query.orderDesc()" query methods.</p>
554+
<p>When querying using the <a href="/docs/server/databases#databasesListDocuments">listDocuments</a> endpoint, you can specify the order of the documents returned using the <code>Query.orderAsc()</code> and <code>Query.orderDesc()</code> query methods.</p>
555555

556556
<ul class="phases clear" data-ui-phases>
557557
<li>
@@ -657,7 +657,7 @@ func main() async throws {
657657
</li>
658658
</ul>
659659

660-
<p>To sort based on multiple attributes, pass multiple attribute IDs into <b>orderAttributes</b>. 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.</p>
660+
<p>To sort based on multiple attributes, simply introduct multiple query methods.</p>
661661

662662
<ul class="phases clear" data-ui-phases>
663663
<li>

0 commit comments

Comments
 (0)