class Google::Apis::FirestoreV1::Cursor

A position in a query result set.

Attributes

before[RW]

If the position is just before or just after the given values, relative to the sort order defined by the query. Corresponds to the JSON property `before` @return [Boolean]

before?[RW]

If the position is just before or just after the given values, relative to the sort order defined by the query. Corresponds to the JSON property `before` @return [Boolean]

values[RW]

The values that represent a position, in the order they appear in the order by clause of a query. Can contain fewer values than specified in the order by clause. Corresponds to the JSON property `values` @return [Array<Google::Apis::FirestoreV1::Value>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1/classes.rb, line 355
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firestore_v1/classes.rb, line 360
def update!(**args)
  @before = args[:before] if args.key?(:before)
  @values = args[:values] if args.key?(:values)
end