Method: Aerospike::CDT::MapOperation.remove_by_index
- Defined in:
- lib/aerospike/cdt/map_operation.rb
.remove_by_index(bin_name, index, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object
Create map remove operation.
Server removes map item identified by index.
Server returns removed data specified by return_type.
394 395 396 |
# File 'lib/aerospike/cdt/map_operation.rb', line 394 def self.remove_by_index(bin_name, index, ctx: nil, return_type: MapReturnType::NONE) MapOperation.new(Operation::CDT_MODIFY, REMOVE_BY_INDEX, bin_name, index, ctx: ctx, return_type: return_type) end |