Method: Aerospike::Exp::Map.remove_by_value
- Defined in:
- lib/aerospike/exp/exp_map.rb
permalink .remove_by_value(value, bin, ctx: nil) ⇒ Object
Create expression that removes map items identified by value.
182 183 184 185 |
# File 'lib/aerospike/exp/exp_map.rb', line 182 def self.remove_by_value(value, bin, ctx: nil) bytes = Exp.pack(ctx, REMOVE_BY_VALUE, CDT::MapReturnType::NONE, value) add_write(bin, bytes, ctx) end |