Closed Kritartha closed 7 years ago
This question is not specific to SQL Brite. Please ask general Android DB usage questions on StackOverflow. You can use the CONFLICT_REPLACE
strategy on your insert for this behavior.
Alright. Thanks Jake.
On 19 Jul 2017 7:33 p.m., "Jake Wharton" notifications@github.com wrote:
This question is not specific to SQL Brite. Please ask general Android DB usage questions on StackOverflow. You can use the CONFLICT_REPLACE strategy on your insert for this behavior.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/square/sqlbrite/issues/206#issuecomment-316397431, or mute the thread https://github.com/notifications/unsubscribe-auth/AZOf8dLUCvRXLg0SgMMBL2DhSlvauedJks5sPgx9gaJpZM4OcuSw .
If a row with a particular primary key is not present then it should create a new row like other DBs. Is there any method to execute this ?