My data structure looks something like this:
- posts (collection)
- post (document)
title
description
labels
vote counts
author
author choice
- votes (collection)
- vote (document)
choice
I need to write a query so that I find a post under the collections document where author != the user's UID, author choice == null, and category == any of some values (that I have no trouble with) but also where a document with the user's UID doesn't exist in the votes sub-collection.