Just a simple question for SQLite while using it in Android. I want to have a database with only one row. Should I just set the max rows = 1 or should I just update the same row? Thanks in advance
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Updating the same row makes the most sense because, seemingly if the same row was overwritten (because only one row was allowed), it would not update the fields, it would just replace them.