Class Projection (2.16.0)

Projection(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The projection of document's fields to return.

Attribute

NameDescription
fields MutableSequence[google.cloud.firestore_v1.types.StructuredQuery.FieldReference]
The fields to return. If empty, all fields are returned. To only return the name of the document, use ['__name__'].