deleteWork method

Future<int> deleteWork(
  1. String work
)

Deletes all barcodes for a given work.

Returns the number of rows deleted.

Implementation

Future<int> deleteWork(String work) async => localDatabase.database.delete(
  _table,
  where: '$_columnWork = ?',
  whereArgs: <String>[work],
);