Class: Redis::Commands::Search::Asc
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | lib/redis/commands/modules/search/aggregation.rb |
Overview
Wraps a field name with an ascending (+ASC+) sort order for AggregateRequest#sort_by.
Class Method Summary
- .new(name) ⇒ Asc constructor
Instance Attribute Summary
- #name ⇒ String readonly
- #order ⇒ String readonly
Constructor Details
.new(name) ⇒ Asc
Instance Attribute Details
#name ⇒ String (readonly)
# File 'lib/redis/commands/modules/search/aggregation.rb', line 164
attr_reader :name, :order
#order ⇒ String (readonly)
# File 'lib/redis/commands/modules/search/aggregation.rb', line 164
attr_reader :name, :order