docs: fix mdx formatting

This commit is contained in:
Jarrod Flesch
2023-07-05 15:26:10 -04:00
parent 5b79067cc1
commit d112159d93
7 changed files with 21 additions and 68 deletions

View File

@@ -9,13 +9,7 @@ keywords: query, documents, overview, documentation, Content Management System,
Payload provides an extremely granular querying language through all APIs. Each API takes the same syntax and fully supports all options.
<Banner>
<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.
<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.
</Banner>
### Simple queries
@@ -74,9 +68,7 @@ The above example demonstrates a simple query but you can get much more complex.
<Banner type="success">
<strong>Tip</strong>:<br />
If you know your users will be querying on certain fields a lot, you can add <strong>
index: true
</strong> to a field's config which will speed up searches using that field immensely.
If you know your users will be querying on certain fields a lot, you can add <strong>index: true</strong> to a field's config which will speed up searches using that field immensely.
</Banner>
### And / Or Logic