Method: Aerospike::CDT::MapOperation.remove_by_key

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

.remove_by_key(bin_name, key, ctx: nil, return_type: nil) ⇒ Object

Create map remove operation.

Server removes map item identified by key and returns removed data specified by return_type.



226
227
228
# File 'lib/aerospike/cdt/map_operation.rb', line 226

def self.remove_by_key(bin_name, key, ctx: nil, return_type: nil)
  MapOperation.new(Operation::CDT_MODIFY, REMOVE_BY_KEY, bin_name, key, ctx: ctx, return_type: return_type)
end