increment method

Future<int> increment(
  1. TKey key,
  2. String column, {
  3. num by = 1,
})

Adds by to a column in place, without reading it first.

SET [Hits] = [Hits] + @n rather than read-modify-write: two callers incrementing at once both count, which a read-modify-write loses.

Implementation

Future<int> increment(TKey key, String column, {num by = 1}) =>
    _step(key, column, by);