Skip to content
Naimul Kabir edited this page Jun 2, 2022 · 1 revision

QuestionDetailDao

suspend fun insertQuestion(questionDetailEntity: QuestionDetailEntity)`

Inserts a question into the database

  • Parameters: questionDetailEntity — The object to insert.

suspend fun getQuestionByLink(link: String): QuestionDetailEntity }`

Returns a QuestionDetailEntity object from the database, which has the given link

  • Parameters: link — String