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 document provides reference information for the \u003ccode\u003eFilter\u003c/code\u003e class within the Google Cloud Firestore API, specifically for version 3.8.0 of the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter\u003c/code\u003e class is an abstract class designed to hold different types of filters used in Firestore queries, implementing the \u003ccode\u003eIEquatable<Filter>\u003c/code\u003e interface, allowing comparison between filters.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports various static methods to create specific filters, including \u003ccode\u003eAnd\u003c/code\u003e and \u003ccode\u003eOr\u003c/code\u003e for combining multiple filters, as well as filters for array containment (\u003ccode\u003eArrayContains\u003c/code\u003e, \u003ccode\u003eArrayContainsAny\u003c/code\u003e), equality (\u003ccode\u003eEqualTo\u003c/code\u003e, \u003ccode\u003eNotEqualTo\u003c/code\u003e), and range comparisons (\u003ccode\u003eGreaterThan\u003c/code\u003e, \u003ccode\u003eGreaterThanOrEqualTo\u003c/code\u003e, \u003ccode\u003eLessThan\u003c/code\u003e, \u003ccode\u003eLessThanOrEqualTo\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInArray\u003c/code\u003e and \u003ccode\u003eNotInArray\u003c/code\u003e methods allow for filtering based on whether a field's value is or isn't present within a specified set of values, enhancing the versatility of data querying.\u003c/p\u003e\n"],["\u003cp\u003eThe methods provided in this API documentation allow you to filter based on fields using \u003ccode\u003eFieldPath\u003c/code\u003e or strings.\u003c/p\u003e\n"]]],[],null,[]]