macro_rules! update {
($target:expr, $key:expr, $($op:expr),+ $(,)?) => { ... };
}Expand description
Update a tuple or index.
The helper macro with the same semantic as space.update()/index.update() functions, but supports
different types in ops argument.
target- updated space or index.key- encoded key in the MsgPack Array format ([part1, part2, ...]).ops- encoded operations in the MsgPack array format, e.g.[['=', field_id, 100], ['!', 2, 'xxx']]
Returns a new tuple.
See also: space.update()