SQLiteCpp
SQLiteCpp copied to clipboard
Are Database objects automatically closed when leaving the scope?
I know SQLiteCpp acts as a wrapper around sqlite3, which includes a function for closing the database. I am just curious if this library automatically does that for me, so I don't need to worry about any memory leaks.
Edit, I am trying to label this under the question label but my UI seems a bit bugged.
Yes exactly, the Database destructor will close the db automatically.