Java Code Examples for androidx.room.OnConflictStrategy#IGNORE
The following examples show how to use
androidx.room.OnConflictStrategy#IGNORE .
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: WordDao.java From Android-Developer-Fundamentals-Version-2 with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Word word);
Example 2
Source File: ScaleMeasurementDAO.java From openScale with GNU General Public License v3.0 | 4 votes |
@Insert (onConflict = OnConflictStrategy.IGNORE) long insert(ScaleMeasurement measurement);
Example 3
Source File: NotificationPreferenceDao.java From zephyr with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertNotificationPreferences(List<NotificationPreferenceEntity> notificationPreferences);
Example 4
Source File: WordDao.java From android-room-with-a-view with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Word word);
Example 5
Source File: AppItemDao.java From J2ME-Loader with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAll(ArrayList<AppItem> items);
Example 6
Source File: HistoryDao.java From SecScanQR with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(HistoryEntity history);
Example 7
Source File: WordDao.java From Android-Developer-Fundamentals-Version-2 with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Word word);
Example 8
Source File: NoteDao.java From Android-Developer-Fundamentals-Version-2 with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Note note);
Example 9
Source File: WordDao.java From Android-Developer-Fundamentals-Version-2 with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Word word);
Example 10
Source File: WordDao.java From Android-Developer-Fundamentals-Version-2 with GNU General Public License v3.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insert(Word word);
Example 11
Source File: AlarmsDatabaseDao.java From BaldPhone with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAll(Alarm... alarms);
Example 12
Source File: ReviewsDao.java From PopularMovies with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAllReviews(List<Review> reviews);
Example 13
Source File: TrailersDao.java From PopularMovies with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAllTrailers(List<Trailer> trailers);
Example 14
Source File: MoviesDao.java From PopularMovies with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertMovie(Movie movie);
Example 15
Source File: CastsDao.java From PopularMovies with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAllCasts(List<Cast> castList);
Example 16
Source File: AppsDatabaseDao.java From BaldPhone with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAll(List<App> apps);
Example 17
Source File: AppsDatabaseDao.java From BaldPhone with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) void insertAll(App... apps);
Example 18
Source File: RemindersDatabaseDao.java From BaldPhone with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) long insert(Reminder reminders);
Example 19
Source File: ScaleMeasurementDAO.java From openScale with GNU General Public License v3.0 | 4 votes |
@Insert (onConflict = OnConflictStrategy.IGNORE) void insertAll(List<ScaleMeasurement> measurementList);
Example 20
Source File: AlarmsDatabaseDao.java From BaldPhone with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.IGNORE) long insert(Alarm alarm);