public static Filter ArrayContainsAny(FieldPath fieldPath, IEnumerable values)
Returns a filter specifying that fieldPath must be
a field present in the document, with a value which is an array containing at least one value in values.
public static Filter ArrayContainsAny(string fieldPath, IEnumerable values)
Returns a filter specifying that fieldPath must be
a field present in the document, with a value which is an array containing at least one value in values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFilter\u003c/code\u003e class in the Google Cloud Firestore API provides a mechanism for creating various types of filters used in database queries.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports logical "AND" and "OR" operations to combine multiple filters together for complex queries using the \u003ccode\u003eAnd\u003c/code\u003e and \u003ccode\u003eOr\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter\u003c/code\u003e class includes static methods for comparing field values, such as \u003ccode\u003eEqualTo\u003c/code\u003e, \u003ccode\u003eGreaterThan\u003c/code\u003e, \u003ccode\u003eLessThan\u003c/code\u003e, and their variations, along with the \u003ccode\u003eNotEqualTo\u003c/code\u003e, \u003ccode\u003eInArray\u003c/code\u003e and \u003ccode\u003eNotInArray\u003c/code\u003e methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eFilter\u003c/code\u003e also provides array-specific filtering capabilities with the \u003ccode\u003eArrayContains\u003c/code\u003e, and \u003ccode\u003eArrayContainsAny\u003c/code\u003e methods, which check for the presence of specific values within array fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFilter\u003c/code\u003e in the \u003ccode\u003eGoogle.Cloud.Firestore\u003c/code\u003e namespace is part of the \u003ccode\u003eGoogle.Cloud.Firestore.dll\u003c/code\u003e assembly and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class, and it also implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface.\u003c/p\u003e\n"]]],[],null,[]]