CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 19: Associate Android Developer

What do you want from Room when you create a DAO method and annotate it with @Delete?Example:@Daointerface MyDao {@Deletefun deleteUsers(vararg users: User)}

Nội dung câu hỏi

What do you want from Room when you create a DAO method and annotate it with @Delete?Example:@Daointerface MyDao {@Deletefun deleteUsers(vararg users: User)}

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Room generates an implementation that inserts all parameters into the database in a single transaction.
  2. 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.
  3. C. Room removes a set of entities, given as parameters, from the database. It uses the primary keys to find the entities to delete. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề