I'm working on an app that will function similar to a dating app (though different purpose) and working on filtering out users from the firestore query that they have already liked or disliked, but cant seem to figure find a not operator for the where.
Currently my database is structured with a collection of profiles. Each profile document has a like and dislike field that is an array. When lets say Person-A likes Person-B, then Person-A's documentID is added to Person-B's likes array (same process for dislikes).
How can I structure the where clause to exclude the profiles that have already been interacted with?
_firebaseService.db.collection('profiles').where(????).snapshots()