lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb in google-cloud-firestore-0.25.0 vs lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb in google-cloud-firestore-0.25.1

- old
+ new

@@ -143,10 +143,19 @@ # Contains. Requires that the field is an array. ARRAY_CONTAINS = 7 end end + # The projection of document's fields to return. + # @!attribute [rw] fields + # @return [Array<Google::Firestore::V1beta1::StructuredQuery::FieldReference>] + # The fields to return. + # + # If empty, all fields are returned. To only return the name + # of the document, use `['__name__']`. + class Projection; end + # A filter with a single operand. # @!attribute [rw] op # @return [Google::Firestore::V1beta1::StructuredQuery::UnaryFilter::Operator] # The unary operator to apply. # @!attribute [rw] field @@ -177,18 +186,9 @@ # A reference to a field, such as `max(messages.time) as max_time`. # @!attribute [rw] field_path # @return [String] class FieldReference; end - - # The projection of document's fields to return. - # @!attribute [rw] fields - # @return [Array<Google::Firestore::V1beta1::StructuredQuery::FieldReference>] - # The fields to return. - # - # If empty, all fields are returned. To only return the name - # of the document, use `['__name__']`. - class Projection; end # A sort direction. module Direction # Unspecified. DIRECTION_UNSPECIFIED = 0 \ No newline at end of file