delete method

Future<int> delete(
  1. String uuid
)

Implementation

Future<int> delete(String uuid) async {
  final db = await JDB.instance.database;
  final result = await db.delete(
    table,
    where: '${TMaster.uuid} = ?',
    whereArgs: [uuid],
  );
  jLog.w('Delete $table: $uuid');
  return result;
}