Future<int> deleteById(int productId) async { return await (db.delete( db.product, )..where((e) => e.id.equals(productId))).go(); }