Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

Delete

public abstract @interface Delete
implements Annotation

android.arch.persistence.room.Delete


Marks a method in a Dao annotated class as a delete method.

The implementation of the method will delete its parameters from the database.

All of the parameters of the Delete method must either be classes annotated with Entity or collections/array of it.

Example:

 @Dao
 public interface MyDao {
     @Delete
     public void deleteUsers(User... users);
     @Delete
     public void deleteAll(User user1, User user2);
     @Delete
     public void deleteWithFriends(User user, List<User> friends);
 }
 

See also:

Summary

Inherited methods