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\u003eThis page provides documentation for the \u003ccode\u003eFilter\u003c/code\u003e class in the Google Cloud Firestore API, specifically for version 3.7.0 of the .NET library, with links to other versions also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIEquatable<Filter>\u003c/code\u003e, serves as a holder for different types of filters used in Firestore queries.\u003c/p\u003e\n"],["\u003cp\u003eIt includes static methods, such as \u003ccode\u003eAnd\u003c/code\u003e and \u003ccode\u003eOr\u003c/code\u003e, which are for creating composite filters based on logical "AND" or "OR" operations between multiple filters.\u003c/p\u003e\n"],["\u003cp\u003eThere are several static methods within the \u003ccode\u003eFilter\u003c/code\u003e class that are used to specify conditions for filtering data, including checking for array containment (\u003ccode\u003eArrayContains\u003c/code\u003e, \u003ccode\u003eArrayContainsAny\u003c/code\u003e), equality (\u003ccode\u003eEqualTo\u003c/code\u003e, \u003ccode\u003eNotEqualTo\u003c/code\u003e), comparison (\u003ccode\u003eGreaterThan\u003c/code\u003e, \u003ccode\u003eLessThan\u003c/code\u003e, \u003ccode\u003eGreaterThanOrEqualTo\u003c/code\u003e, \u003ccode\u003eLessThanOrEqualTo\u003c/code\u003e), and whether a field's value is in or not in an array of given values (\u003ccode\u003eInArray\u003c/code\u003e, \u003ccode\u003eNotInArray\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also lists inherited members from the \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, all of which are available to the Filter class.\u003c/p\u003e\n"]]],[],null,[]]