You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added an sqlite3 db file to my project. However, when I try to access the database via Database(path: "myDB.db") I receive the following error upon calling the open() method:
Error Domain=sqlite3 Code=14 "out of memory"
Any ideas as to what I am doing incorrectly?
Code:
let database = Database(path:"brynkaTest.db")
var error : NSError?
if !database.open(&error) {
// handle error
var test = error!.description;
}
database.close(&error)
The text was updated successfully, but these errors were encountered:
I have added an sqlite3 db file to my project. However, when I try to access the database via Database(path: "myDB.db") I receive the following error upon calling the open() method:
Error Domain=sqlite3 Code=14 "out of memory"
Any ideas as to what I am doing incorrectly?
Code:
let database = Database(path:"brynkaTest.db")
var error : NSError?
if !database.open(&error) {
// handle error
var test = error!.description;
}
database.close(&error)
The text was updated successfully, but these errors were encountered: