incrementById method

Future<R?> incrementById(
  1. Object id,
  2. Map<String, num> values
)

Adds positive amounts atomically and returns the row, or null if the key, filters or signed 64-bit integer bounds do not match. SQLite also guards finite REAL bounds; PostgreSQL reports real overflow as a SQL error.

Implementation

Future<R?> incrementById(Object id, Map<String, num> values) =>
    _changeById(id, values, '+');