#community-help

Queries for Array-Contains Filter

TLDR Andrew wanted to know if there is a parameter for an array-contains filter. Kishore Nallan provided the solution to the query.

Powered by Struct AI
Nov 02, 2022 (14 months ago)
Andrew
Photo of md5-7766f890de99fa72a6d81315691a6758
Andrew
02:49 PM
Is there a parameter for an array-contains filter? For instance, return all users where the string Id is not found in a user's array of seenIds
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
03:51 PM
If you have a seenIds field that's a string array you can do seenIds:!= foo
Andrew
Photo of md5-7766f890de99fa72a6d81315691a6758
Andrew
06:04 PM
Awesome, thanks!