update method

Future update(
  1. Log log
)

Updates the log in Database

Implementation

Future update(Log log) async {
  // For filtering by key (ID), RegEx, greater than, and many other criteria,
  // we use a Finder.
  final finder = Finder(filter: Filter.byKey(log.id));
  await _flogsStore.update(
    await _db,
    log.toJson(),
    finder: finder,
  );
}