What do you want from Room when you create a DAO method and annotate it with @Update? Example:
@Dao
Interface MyDao {
@Update
Fun updateUsers(vararg users: User)
}
A) Room generates an implementation that inserts all parameters into the database in a single transaction.
B) Room modifies a set of entities, given as parameters, in the database. It uses a query that matches against the primary key of each entity.
C) Room removes a set of entities, given as parameters, from the database. It uses the primary keys to find the entities to delete.
Correct Answer:
Verified
Q13: Q14: For example, we have a file in Q15: If you want to access a specific Q16: To create a basic JUnit 4 test
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents