Class: Google::Datastore::V1::PropertyOrder
- Inherits:
-
Object
- Object
- Google::Datastore::V1::PropertyOrder
- Defined in:
- lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb
Overview
The desired order for a specific property.
Defined Under Namespace
Modules: Direction
Instance Attribute Summary collapse
-
#direction ⇒ Google::Datastore::V1::PropertyOrder::Direction
The direction to order by.
-
#property ⇒ Google::Datastore::V1::PropertyReference
The property to order by.
Instance Attribute Details
#direction ⇒ Google::Datastore::V1::PropertyOrder::Direction
Returns The direction to order by. Defaults to +ASCENDING+.
125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb', line 125 class PropertyOrder # The sort direction. module Direction # Unspecified. This value must not be used. DIRECTION_UNSPECIFIED = 0 # Ascending. ASCENDING = 1 # Descending. DESCENDING = 2 end end |
#property ⇒ Google::Datastore::V1::PropertyReference
Returns The property to order by.
125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb', line 125 class PropertyOrder # The sort direction. module Direction # Unspecified. This value must not be used. DIRECTION_UNSPECIFIED = 0 # Ascending. ASCENDING = 1 # Descending. DESCENDING = 2 end end |