diff options
author | Michael Lehenbauer <mikelehen@gmail.com> | 2018-05-16 17:05:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 17:05:33 -0700 |
commit | 0ec836f9ca71b27fa54a11ae9e07e60b8c5cc002 (patch) | |
tree | b677f04b8659299146b661dded71e4860fe956f0 /Firestore/Source/Core/FSTQuery.h | |
parent | dd83f4e30bed1b5caf5cc862e74743c84ca6e450 (diff) |
b/79432277: Limit Queries to only a single array-contains clause. (#1286)
Diffstat (limited to 'Firestore/Source/Core/FSTQuery.h')
-rw-r--r-- | Firestore/Source/Core/FSTQuery.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Firestore/Source/Core/FSTQuery.h b/Firestore/Source/Core/FSTQuery.h index 572fabb..e38d3dd 100644 --- a/Firestore/Source/Core/FSTQuery.h +++ b/Firestore/Source/Core/FSTQuery.h @@ -245,6 +245,9 @@ typedef NS_ENUM(NSInteger, FSTRelationFilterOperator) { */ - (const firebase::firestore::model::FieldPath *)inequalityFilterField; +/** Returns YES if the query has an arrayContains filter already. */ +- (BOOL)hasArrayContainsFilter; + /** Returns the first field in an order-by constraint, or nullptr if none. */ - (const firebase::firestore::model::FieldPath *)firstSortOrderField; |