SQLite Set max rows or just update the same file?

Just a simple question for SQLite when used in Android. I want to have a database with only one row. Should I just set max rows = 1 or should I just update the same row? thanks in advance

+3


source to share


1 answer


Updating the same row makes the most sense, because it would seem if the same row was overwritten (since only one row is allowed) it doesn't update the fields, it will just replace them.



+2


source







All Articles