Class Projection (2.3.4)

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

The projection of document's fields to return. .. attribute:: fields

The fields to return.

If empty, all fields are returned. To only return the name of the document, use ['__name__'].

:type: Sequence[google.cloud.firestore_v1.types.StructuredQuery.FieldReference]