Is it possible to perform an additional 'where' when fetching a specific document?
Fetching a document based on an available key works perfectly:
db = firestore.client()
dockey = 'mykey'
doc_ref = db.collection(u'mydocuments').document(u'%s' % (dockey))
doc = doc_ref.get()
But I want to limit my reads, so I only want the document that correspond to an additional 'where' statement. I would expect something like this:
doc = doc_ref.where(u'field',u'==',u'one').get()
But unfortunately nothing seems to work.... Is it possible?