mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02: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