Is it possible in Firestore to run a query where you get all the documents that have a field not equal
to any elements of a string Array?
The idea is that I have a set of cards (such as on Tinder) and whenever a new card is loaded I send the card uid to the database as "already swiped" for that uid, When I want then to upload more cards I want to exclude the cards already swiped by the user, so what do I do? I query all the card uids that the user already swiped and exclude them for the query.
The only similar query I've seen is this one
whereField("capital", isNotEqualTo: false)
but it compares it only with one value.
the other similar one is:
statesRef.whereField("capital", notIn: ["Tallahassee", "Atlanta"])
but it takes 10 parameters maximum, so if potentially the users have swiped more than 10 cards it becomes unuseful