Closed Shahroz16 closed 6 years ago
Whenever I call,
db.insert("table name", OnConflictStrategy.REPLACE, params)
In the logs, I see
D/SQL Database: INSERT table: //table name values: // params values conflictAlgorithm: rollback
Is this, conflictAlgorithm: rollback intended?
conflictAlgorithm: rollback
OnConflictStrategy.REPLACE comes from Room. You should be using SQLiteDatabase.CONFLICT_REPLACE.
OnConflictStrategy.REPLACE
SQLiteDatabase.CONFLICT_REPLACE
Whenever I call,
db.insert("table name", OnConflictStrategy.REPLACE, params)
In the logs, I see
D/SQL Database: INSERT table: //table name values: // params values conflictAlgorithm: rollback
Is this,
conflictAlgorithm: rollback
intended?