Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/docs/databases.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func main() async throws {
</table>

<h3><a href="/docs/databases#ordering" id="ordering">Ordering Results</a></h3>
<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>
<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>

<ul class="phases clear" data-ui-phases>
<li>
Expand Down Expand Up @@ -657,7 +657,7 @@ func main() async throws {
</li>
</ul>

<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>
<p>To sort based on multiple attributes, simply provide multiple query methods.</p>

<ul class="phases clear" data-ui-phases>
<li>
Expand Down