mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-20 02:20:06 +01:00
Created insertOrUpdate fun for many notes
This commit is contained in:
parent
7b9c05f32d
commit
a305a2b485
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user