dimanche 2 août 2015

Is it fine to be lazy at inserting in Android SQLiteDatabase having a unique column?

I am aware that if I set a column in a table to be unique, I can prevent other records from being added with the same value on that column. What I would like to know is if it's of good practice to leave it like that. I have seen there is a sql warning, but I am not sure if that affects the app in any way.

Aucun commentaire:

Enregistrer un commentaire