Java Code Examples for androidx.room.OnConflictStrategy#ROLLBACK

The following examples show how to use androidx.room.OnConflictStrategy#ROLLBACK . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MockApiDao.java    From DoraemonKit with Apache License 2.0 4 votes vote down vote up
@Update(onConflict = OnConflictStrategy.ROLLBACK)
int updateInterceptApi(MockInterceptApiBean mockApi);
 
Example 2
Source File: MockApiDao.java    From DoraemonKit with Apache License 2.0 4 votes vote down vote up
@Update(onConflict = OnConflictStrategy.ROLLBACK)
int updateTemplateApi(MockTemplateApiBean mockApi);
 
Example 3
Source File: MockApiDao.java    From DoraemonKit with Apache License 2.0 2 votes vote down vote up
/**
 * 插入mockApi数据列表
 */
@Insert(onConflict = OnConflictStrategy.ROLLBACK)
void insertAllInterceptApi(List<MockInterceptApiBean> mockApis);
 
Example 4
Source File: MockApiDao.java    From DoraemonKit with Apache License 2.0 2 votes vote down vote up
/**
 * 插入mockApi数据列表
 */
@Insert(onConflict = OnConflictStrategy.ROLLBACK)
void insertAllTemplateApi(List<MockTemplateApiBean> mockApis);