ASSOCIATE-ANDROID-DEVELOPER Web TestEngine demo

Exit VCEDump ASSOCIATE-ANDROID-DEVELOPER Associate Android Developer (Kotlin and Java)
Question 10 of 20
0% complete
Q10 Single choice

What is demonstrated by the code below?

// RawDao.kt
@Dao
interface RawDao {
@RawQuery
fun getUserViaQuery(query: SupportSQLiteQuery?): User?
}

// Usage of RawDao
...
val query =
SimpleSQLiteQuery("SELECT * FROM User WHERE id = ? LIMIT 1",
arrayOf<Any>(sortBy))
val user = rawDao.getUserViaQuery(query)
...

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in