Is there a way to check for value within an array if you're querying for a specific document ID?
This doesn't work:
let userID = Auth.auth().currentUser?.uid ?? "nil"
let db = Firestore.firestore()
db.collection("users").document(userID).whereField("favorites", arrayContains: productID)
Seems like you can only use .whereField directly after declaring the collection, but not on the document.
