Documents
Get documents
You can retrieve a set of specific documents from a collection by calling client.collection(name).get([ids])
.
Getting documents from a collection by their respective IDs can be done via the get()
method on a client.collection(name)
object:
The result is a key-value mapping: each key is a document ID, and each value is the document in the same shape it was upserted: