I know this question may sound silly, but how can I properly query data using the Firebase Admin SDK (Cloud Firestore) with Python?
Yes, I have read the docs here:
My database:
My code:
existing_post = db.collection(u'posts').where(u'id', u'==', u'BpzIbkqAkk0').get()
print(existing_post)
I also tried omitting the .get() method, but also getting the same result each time.
All I've been getting is
<google.cloud.firestore_v1beta1.query.Query object at 0x10e7aab00>
Any ideas?
