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