I am trying to build a stream of posts where posts hidden by current user = 'hidingUserId' are not shown in the list of posts. Is there a reverse queiry command for arrayContains? I need something like:
stream: postRef
.where('hidingUserId', arrayDOESNOTcontain:
FirebaseAuth.instance.currentUser.uid)
.orderBy('stars', descending: false)
.orderBy('timestamp', descending: true)
.snapshots(),`enter code here`
Or what would be other ways to easily implement it? Thank you! it is an array, as several users might hide the post, thus creates an array with userIds.