I would like to use SQLite database in my iOS app and there are different frameworks available. So my current focus is on GRDB and I have successfully created, inserted values, and received back with SQL commands as shown here.
However, once the app is closed, how am I going to access the same DataBaseQueue
and what should be the constant path to my database?
import GRDB
// Open a simple database connection
if let dbQueue = try DatabaseQueue(path: "what should be the correct path ")!= nil{
setupDatabase()
}
else
{
dbQueue = DatabaseQueue()
}