mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-06-11 10:09:29 -04:00
Created insertOrUpdate fun for many notes
This commit is contained in:
@@ -23,6 +23,9 @@ interface NotesDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
fun insertOrUpdate(note: Note): Long
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
fun insertOrUpdate(notes: List<Note>): List<Long>
|
||||
|
||||
@Delete
|
||||
fun deleteNote(note: Note)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user