customUpdate static method
Future<int>
customUpdate(
- String table,
- CacheDBBaseModel model, {
- String? columnName,
- String? columnValue,
Implementation
static Future<int> customUpdate(String table, CacheDBBaseModel model,
{String? columnName, String? columnValue}) async =>
await _db!.update(
table,
model.toMap(),
where: '$columnName = ?',
whereArgs: [columnValue],
);