Method: Aerospike::CDT::MapOperation.clear

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

.clear(bin_name, ctx: nil) ⇒ Object

Create map clear operation. Server removes all items in map. Server returns null.



217
218
219
# File 'lib/aerospike/cdt/map_operation.rb', line 217

def self.clear(bin_name, ctx: nil)
  MapOperation.new(Operation::CDT_MODIFY, CLEAR, bin_name, ctx: ctx)
end