SyllabusDao

interface SyllabusDao

Functions

Link copied to clipboard
abstract suspend fun deleteAll()

Delete all the data from the table

Link copied to clipboard
abstract suspend fun deleteNetwork(syllabus: SyllabusModel)

Delete All Network Entities

Link copied to clipboard
abstract suspend fun getSyllabus(subject: String): SyllabusModel?

Get syllabus by their name

Link copied to clipboard
abstract fun getSyllabusAsCourse(course: String): Flow<List<SyllabusModel>>
Link copied to clipboard
abstract suspend fun getSyllabusCount(): Int
Link copied to clipboard
abstract suspend fun getSyllabusDeepLink(query: String): SyllabusModel?
Link copied to clipboard
abstract suspend fun getSyllabusEdit(query: String): List<SyllabusModel>

Get Syllabus for edit

Link copied to clipboard
abstract fun getSyllabusHome(query: String, type: String): Flow<List<SyllabusModel>>

Get Syllabus for Home

Link copied to clipboard
abstract suspend fun getSyllabusHomeList(query: String, type: String): List<SyllabusModel>
Link copied to clipboard

Get syllabus for search

Link copied to clipboard
abstract suspend fun getSyllabusSearchSync(query: String, type: String): List<SyllabusModel>
Link copied to clipboard

Get Syllabus for Syllabus section.

Link copied to clipboard
abstract suspend fun getSyllabusTypeList(query: String, type: String): List<SyllabusModel>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun insert(syllabusModel: SyllabusModel)

Inset all called for only ones

Link copied to clipboard
abstract suspend fun insertAll(syllabus: List<SyllabusModel>)

Insert all the syllabus at ones

Link copied to clipboard
abstract suspend fun reset(openCode: String)

Reset Settings

Link copied to clipboard
abstract suspend fun resetAll()
Link copied to clipboard
abstract suspend fun updateIsChecked()
Link copied to clipboard
abstract suspend fun updateSyllabus(syllabus: SyllabusModel)

Update syllabus

Link copied to clipboard
abstract suspend fun updateSyllabusAddedInAttendance()
abstract suspend fun updateSyllabusAddedInAttendance(attendance: String, isAdded: Int)