Class Projection (2.7.0)

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

The projection of document's fields to return.

Attribute

NameDescription
fields Sequence[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__']``.

Inheritance

builtins.object > proto.message.Message > Projection