docs: removes express
This commit is contained in:
@@ -3,7 +3,7 @@ title: Querying your Documents
|
||||
label: Overview
|
||||
order: 10
|
||||
desc: Payload provides a querying language through all APIs, allowing you to filter or search through documents within a Collection.
|
||||
keywords: query, documents, overview, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
keywords: query, documents, overview, documentation, Content Management System, cms, headless, javascript, node, react, nextjs
|
||||
---
|
||||
|
||||
Payload provides an extremely granular querying language through all APIs. Each API takes the same syntax and fully supports all options.
|
||||
@@ -12,9 +12,8 @@ Payload provides an extremely granular querying language through all APIs. Each
|
||||
<strong>
|
||||
Here, "querying" relates to filtering or searching through documents within a Collection.
|
||||
</strong>
|
||||
|
||||
You can build queries to pass to Find operations as well as to [restrict which documents certain
|
||||
users can access](/docs/access-control/overview) via access control functions.
|
||||
users can [access](/docs/access-control/overview) via access control functions.
|
||||
</Banner>
|
||||
|
||||
## Simple queries
|
||||
@@ -146,7 +145,7 @@ query {
|
||||
|
||||
With the REST API, you can use the full power of Payload queries as well but they become a bit more unwieldy the more complex that they get.
|
||||
|
||||
Simple queries are fairly straightforward to write. To understand the syntax, you need to understand how Express and similar languages would go about parsing a complex URL search string into a JSON object. For example, the above [simple query](#simple-queries) would be parsed into a string like this:
|
||||
Simple queries are fairly straightforward to write. To understand the syntax, you need to understand that complex URL search strings are parsed into a JSON object. For example, the above [simple query](#simple-queries) would be parsed into a string like this:
|
||||
|
||||
**`https://localhost:3000/api/posts?where[color][equals]=mint`**
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Pagination
|
||||
label: Pagination
|
||||
order: 20
|
||||
desc: Payload queries are equipped with automatic pagination so you create paginated lists of documents within your app.
|
||||
keywords: query, documents, pagination, documentation, Content Management System, cms, headless, javascript, node, react, express
|
||||
keywords: query, documents, pagination, documentation, Content Management System, cms, headless, javascript, node, react, nextjs
|
||||
---
|
||||
|
||||
All collection `find` queries are paginated automatically. Responses are returned with top-level meta data related to pagination, and returned documents are nested within a `docs` array.
|
||||
|
||||
Reference in New Issue
Block a user