lib/aerospike/command/operate_command.rb in aerospike-1.0.10 vs lib/aerospike/command/operate_command.rb in aerospike-1.0.11

- old
+ new

@@ -26,9 +26,13 @@ super(cluster, policy, key, nil) @operations = operations end + def write_bins + @operations.select{|op| op.op_type == Aerospike::Operation::WRITE}.map(&:bin).compact + end + def write_buffer set_operate(@policy, @key, @operations) end end # class