Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::PropertyOrder.
The desired order for a specific property.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#direction
def direction() -> ::Google::Cloud::Datastore::V1::PropertyOrder::Direction
Returns
-
(::Google::Cloud::Datastore::V1::PropertyOrder::Direction) — The direction to order by. Defaults to
ASCENDING
.
#direction=
def direction=(value) -> ::Google::Cloud::Datastore::V1::PropertyOrder::Direction
Parameter
-
value (::Google::Cloud::Datastore::V1::PropertyOrder::Direction) — The direction to order by. Defaults to
ASCENDING
.
Returns
-
(::Google::Cloud::Datastore::V1::PropertyOrder::Direction) — The direction to order by. Defaults to
ASCENDING
.
#property
def property() -> ::Google::Cloud::Datastore::V1::PropertyReference
Returns
- (::Google::Cloud::Datastore::V1::PropertyReference) — The property to order by.
#property=
def property=(value) -> ::Google::Cloud::Datastore::V1::PropertyReference
Parameter
- value (::Google::Cloud::Datastore::V1::PropertyReference) — The property to order by.
Returns
- (::Google::Cloud::Datastore::V1::PropertyReference) — The property to order by.