Class: Google::Cloud::Firestore::V1::Cursor

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/v1/query.rb

Overview

A position in a query result set.

Instance Attribute Summary collapse

Instance Attribute Details

#before::Boolean

Returns If the position is just before or just after the given values, relative to the sort order defined by the query.

Returns:

  • (::Boolean)

    If the position is just before or just after the given values, relative to the sort order defined by the query.



609
610
611
612
# File 'proto_docs/google/firestore/v1/query.rb', line 609

class Cursor
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#values::Array<::Google::Cloud::Firestore::V1::Value>

Returns 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.

Returns:

  • (::Array<::Google::Cloud::Firestore::V1::Value>)

    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.



609
610
611
612
# File 'proto_docs/google/firestore/v1/query.rb', line 609

class Cursor
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end