What is the difference between OnConflictStrategy.ABORT and OnConflictStrategy.IGNORE in Room Database?
ABORT: roll back the transaction on conflictIGNORE: keep the existing rows
I know both of them won't add a new row when there is an existed row.
- what is really the difference between these?
- In What case we must use them?