What do you want from Room when you create a DAO method and annotate it with @Delete?
What do you want from Room when you create a DAO method and annotate it with @Delete?
Example:
@Dao
interface MyDao {
@Delete
fun deleteUsers(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.
Answer: C
Latest Associate Android Developer Dumps Valid Version with 107 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments