AttendanceDao

interface AttendanceDao

Functions

Link copied to clipboard
abstract suspend fun delete(attendance: AttendanceModel)
Link copied to clipboard
abstract suspend fun deleteALl()
Link copied to clipboard
abstract suspend fun deleteFromSubjectName(name: String)
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getAllAttendance(): List<AttendanceModel>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getAttendanceById(id: Int): AttendanceModel?
Link copied to clipboard
abstract suspend fun getElementIdFromSubject(subjectName: String): Int?
Link copied to clipboard
abstract suspend fun insert(attendance: AttendanceModel)
Link copied to clipboard
abstract suspend fun insertAll(attendances: List<AttendanceModel>)
Link copied to clipboard
abstract suspend fun update(attendance: AttendanceModel)