Java Code Examples for androidx.room.OnConflictStrategy#REPLACE
The following examples show how to use
androidx.room.OnConflictStrategy#REPLACE .
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: ProvisionerDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(List<Provisioner> provisioners);
Example 2
Source File: SearchDao.java From Pixiv-Shaft with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(SearchEntity searchEntity);
Example 3
Source File: MeshNetworkDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(final MeshNetwork meshNetwork);
Example 4
Source File: ApplicationKeysDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(List<ApplicationKey> appKeys);
Example 5
Source File: NetworkKeyDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(final NetworkKey networkKey);
Example 6
Source File: ProvisionersDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(List<Provisioner> provisioners);
Example 7
Source File: AppInfoDao.java From zephyr with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAppInfo(List<AppInfoEntity> appInfoEntities);
Example 8
Source File: ScenesDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(final List<Scene> scenes);
Example 9
Source File: MeshNetworkDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(final MeshNetwork meshNetwork);
Example 10
Source File: ProvisionerDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(final Provisioner provisioner);
Example 11
Source File: NetworkKeysDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(final List<NetworkKey> networkKeys);
Example 12
Source File: SpendingDao.java From Moneycim with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void addSpending(RawSpending s);
Example 13
Source File: GroupDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Update(onConflict = OnConflictStrategy.REPLACE) void update(final Group group);
Example 14
Source File: AppItemDao.java From J2ME-Loader with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(AppItem item);
Example 15
Source File: SubredditDao.java From Infinity-For-Reddit with GNU Affero General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(SubredditData SubredditData);
Example 16
Source File: MoodleAssignmentCourseDao.java From ETSMobile-Android2 with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(MoodleAssignmentCourse moodleCourse);
Example 17
Source File: ApplicationKeyDao.java From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) long insert(final ApplicationKey applicationKey);
Example 18
Source File: GroupMemberDao.java From bcm-android with GNU General Public License v3.0 | 2 votes |
/** * * * @param users */ @Update(onConflict = OnConflictStrategy.REPLACE) void updateGroupMember(List<GroupMember> users);
Example 19
Source File: GroupMemberDao.java From bcm-android with GNU General Public License v3.0 | 2 votes |
/** * * * @param users */ @Insert(onConflict = OnConflictStrategy.REPLACE) void insertGroupMember(List<GroupMember> users);
Example 20
Source File: WalletDao.java From bcm-android with GNU General Public License v3.0 | 2 votes |
/** * * * @param transactions * @return */ @Insert(onConflict = OnConflictStrategy.REPLACE) long[] insertTransactions(WalletTransaction... transactions);