Method: Aerospike::CDT::MapOperation.remove_by_rank

Defined in:
lib/aerospike/cdt/map_operation.rb

.remove_by_rank(bin_name, rank, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object

Create map remove operation.

Server removes map item identified by rank.

Server returns removed data specified by return_type.



422
423
424
# File 'lib/aerospike/cdt/map_operation.rb', line 422

def self.remove_by_rank(bin_name, rank, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_MODIFY, REMOVE_BY_RANK, bin_name, rank, ctx: ctx, return_type: return_type)
end