Method: Aerospike::CDT::MapOperation.get_by_key

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

.get_by_key(bin_name, key, ctx: nil, return_type: MapReturnType::NONE) ⇒ Object

Create map get by key operation. Server selects map item identified by key and returns selected data specified by return_type.



452
453
454
# File 'lib/aerospike/cdt/map_operation.rb', line 452

def self.get_by_key(bin_name, key, ctx: nil, return_type: MapReturnType::NONE)
  MapOperation.new(Operation::CDT_READ, GET_BY_KEY, bin_name, key, ctx: ctx, return_type: return_type)
end