I am creating a database helper class and for some of the methods within it I am only querying the database and others I am writing to it.
My understanding is both these methods will open the database up and let the program either just read or write to the database.
For the query statements is it worth just using getReadableDatabase() or is there very little difference in performance between the two methods.
Thanks for your time.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…