Method: Aerospike::CDT::ListOperation.get_by_index
- Defined in:
- lib/aerospike/cdt/list_operation.rb
permalink .get_by_index(bin_name, index, ctx: nil, return_type: ListReturnType::NONE) ⇒ Object
Create list get by index operation.
Server selects list item identified by index.
Server returns selected data specified by return_type.
264 265 266 |
# File 'lib/aerospike/cdt/list_operation.rb', line 264 def self.get_by_index(bin_name, index, ctx: nil, return_type: ListReturnType::NONE) ListOperation.new(Operation::CDT_READ, GET_BY_INDEX, bin_name, index, return_type: return_type, ctx: ctx) end |