Conversation
imnotashrimp
approved these changes
Apr 21, 2024
Contributor
imnotashrimp
left a comment
There was a problem hiding this comment.
Left some minor suggestions
| 2 types of query techniques are available in Velo. See your specific API to check which technique the query function supports. | ||
|
|
||
| * **With query builders**: Call query functions that build a query to retrieve a list of items. You can recognize these query functions because they have associated `<item>QueryBuilder` and `<item>QueryResult` class objects. This is the standard Velo querying technique. | ||
| Check the Velo Reference to see which technique is supported for querying a specific API. |
Contributor
There was a problem hiding this comment.
Suggested change
| Check the Velo Reference to see which technique is supported for querying a specific API. | |
| Check a specific query function the Velo Reference to see which querying technique is supported. |
| + Processes the query specified with the [`PlansQueryBuilder`](https://www.wix.com/velo/reference/wix-pricing-plans-v2/plans/plansquerybuilder/ascending) operators. | ||
| + Presents the results using the [`PlansQueryResult`](https://www.wix.com/velo/reference/wix-pricing-plans-v2/plans/plansqueryresult/currentpage) specifications. | ||
|
|
||
| Alternatively, you can call the more generic yet robust Wix Data API to query any collection. The Wix Data API offers additional query functionality like aggregation and querying referenced items. Call the [`query()`](https://www.wix.com/velo/reference/wix-data/query) function with: |
Contributor
There was a problem hiding this comment.
Suggested change
| Alternatively, you can call the more generic yet robust Wix Data API to query any collection. The Wix Data API offers additional query functionality like aggregation and querying referenced items. Call the [`query()`](https://www.wix.com/velo/reference/wix-data/query) function with: | |
| Alternatively, you can call the more generic yet robust Wix Data API to query any collection in your site's CMS. The Wix Data API offers additional query functionality like aggregation and querying referenced items. Call the [`query()`](https://www.wix.com/velo/reference/wix-data/query) function with: |
|
|
||
| ## With the API Query Language | ||
|
|
||
| For querying without query builders, pass an object defining the query to the query function. Define the object with the API Query Language. |
Contributor
There was a problem hiding this comment.
Suggested change
| For querying without query builders, pass an object defining the query to the query function. Define the object with the API Query Language. | |
| For querying without query builders, pass an object defining the query to the query function. Define the object with the API Query Language, shown in [The filter object](#the-filter-object) below. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I lied - it wasn't a small change -
Gave the standard query builder way more prominence. Put it first.
This was from a doc bug day a while ago, somehow left it hanging.