Method: Aerospike::CDT::MapOperation.get_by_value

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

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

Create map get by value operation.

Server selects map items identified by value.

Server returns selected data specified by return_type.



523
524
525
# File 'lib/aerospike/cdt/map_operation.rb', line 523

def self.get_by_value(bin_name, value, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_READ, GET_BY_VALUE, bin_name, value, ctx: ctx, return_type: return_type)
end