-
Notifications
You must be signed in to change notification settings - Fork 901
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
OR Query public API #7053
Merged
Merged
OR Query public API #7053
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
89a67be
Relaxing in restrictions.
MarkDuckworth 8c0f205
Additional testing.
MarkDuckworth 4e7c5af
Relaxing query restrictions.
MarkDuckworth 88a32a8
Code cleanup.
MarkDuckworth 045c664
Removing compat tests that perform validation on the old query restri…
MarkDuckworth d2086a2
Making OR Queries public.
MarkDuckworth eb43312
Merge branch 'master' of github.com:firebase/firebase-js-sdk into mar…
MarkDuckworth 933869a
Enabling tests for or queries and configuring tests that require comp…
MarkDuckworth 0aa5273
Create sweet-rats-compete.md
MarkDuckworth f101d95
Fixing documentation errors revealed by the doc change check.
MarkDuckworth 0ca3c7f
Merge branch 'markduckworth/public-or-queries' of github.com:firebase…
MarkDuckworth fdb81ad
Merge branch 'master' of github.com:firebase/firebase-js-sdk into mar…
MarkDuckworth 9b65f10
Removing and renaming tests based on PR feedback.
MarkDuckworth 097ccc7
Correcting the change type in the changeset file.
MarkDuckworth e880dd7
Disable tests that have multiple ins or array-contains-any per query.
MarkDuckworth 8e32951
Merge branch 'master' of github.com:firebase/firebase-js-sdk into mar…
MarkDuckworth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@firebase/firestore": feat | ||
--- | ||
|
||
OR Query public API |
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Project: /docs/reference/js/_project.yaml | ||
Book: /docs/reference/_book.yaml | ||
page_type: reference | ||
|
||
{% comment %} | ||
DO NOT EDIT THIS FILE! | ||
This is generated by the JS SDK team, and any local changes will be | ||
overwritten. Changes should be made in the source code at | ||
https://github.com/firebase/firebase-js-sdk | ||
{% endcomment %} | ||
|
||
# QueryCompositeFilterConstraint class | ||
A `QueryCompositeFilterConstraint` is used to narrow the set of documents returned by a Firestore query by performing the logical OR or AND of multiple [QueryFieldFilterConstraint](./firestore_.queryfieldfilterconstraint.md#queryfieldfilterconstraint_class)<!-- -->s or [QueryCompositeFilterConstraint](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstraint_class)<!-- -->s. `QueryCompositeFilterConstraint`<!-- -->s are created by invoking [or()](./firestore_.md#or) or [and()](./firestore_.md#and) and can then be passed to [query()](./firestore_.md#query) to create a new query instance that also contains the `QueryCompositeFilterConstraint`<!-- -->. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class QueryCompositeFilterConstraint | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [type](./firestore_.querycompositefilterconstraint.md#querycompositefilterconstrainttype) | | 'or' \| 'and' | The type of this query constraint | | ||
|
||
## QueryCompositeFilterConstraint.type | ||
|
||
The type of this query constraint | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly type: 'or' | 'and'; | ||
``` |
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified. Thank you for the review.