Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Documentation queries mismatch #1362

Closed
wants to merge 2 commits into from
Closed
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
6 changes: 3 additions & 3 deletions src/routes/docs/products/databases/queries/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Appwrite SDKs provide a `Query` class to help you build queries. The `Query` cla
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
| `Query.select(["name", "title"])` | Select which attributes should be returned from a document. |
| `Query.or([Query.less_than("size", 5), Query.greater_than("size", 10)])` | Returns document if it matches any of the nested sub-queries in the array passed in. |
| `Query.and([Query.less_than("size", 10), Query.greater_than("size", 5)])` | Returns document if it matches all of the nested sub-queries in the array passed in. |
| `Query.and_queries([Query.less_than("size", 10), Query.greater_than("size", 5)])` | Returns document if it matches all of the nested sub-queries in the array passed in. |
| `Query.equal("title", ["Iron Man"])` | Returns document if attribute is equal to any value in the provided array. |
| `Query.not_equal("title", ["Iron Man"])` | Returns document if attribute is not equal to any value in the provided array. |
| `Query.less_than("score", 10)` | Returns document if attribute is less than the provided value. |
Expand Down Expand Up @@ -186,7 +186,7 @@ Appwrite SDKs provide a `Query` class to help you build queries. The `Query` cla
| `Query.and([Query.lessThan("size", 10), Query.greaterThan("size", 5)])` | Returns document if it matches all of the nested sub-queries in the array passed in. |
| `Query.or([Query.lessThan("size", 5), Query.greaterThan("size", 10)])` | Returns document if it matches any of the nested sub-queries in the array passed in. |
| `Query.equal("title", ["Iron Man"])` | Returns document if attribute is equal to any value in the provided array. |
| `Query.notEqual("title", ["Iron Man"])` | Returns document if attribute is not equal to any value in the provided array. |
| `Query.equal("released", value: [true])` | Returns document if attribute is not equal to any value in the provided array. |
| `Query.lessThan("score", 10)` | Returns document if attribute is less than the provided value. |
| `Query.lessThanEqual("score", 10)` | Returns document if attribute is less than or equal to the provided value. |
| `Query.greaterThan("score", 10)` | Returns document if attribute is greater than the provided value. |
Expand Down Expand Up @@ -417,4 +417,4 @@ query {
}
}
```
{% /multicode %}
{% /multicode %}
Loading