Method: Aerospike::CDT::MapOperation.remove_by_value

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

.remove_by_value(bin_name, value, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object

Create map remove operation.

Server removes map item identified by value.

Server returns removed data specified by return_type.



312
313
314
# File 'lib/aerospike/cdt/map_operation.rb', line 312

def self.remove_by_value(bin_name, value, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_MODIFY, REMOVE_BY_VALUE, bin_name, value, ctx: ctx, return_type: return_type)
end