Function aerospike::operations::maps::put_item [] [src]

pub fn put_item<'a>(
    policy: &'a MapPolicy,
    bin: &'a str,
    key: &'a Value,
    val: &'a Value
) -> Operation<'a>

Create map put operation. Server writes the key/value item to the map bin and returns the map size.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map.