mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-02 18:00:12 +02: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)
|
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||||
fun insertOrUpdate(note: Note): Long
|
fun insertOrUpdate(note: Note): Long
|
||||||
|
|
||||||
|
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||||
|
fun insertOrUpdate(notes: List<Note>): List<Long>
|
||||||
|
|
||||||
@Delete
|
@Delete
|
||||||
fun deleteNote(note: Note)
|
fun deleteNote(note: Note)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user