sqlite_modern_cpp
sqlite_modern_cpp copied to clipboard
ability to change database name
Hello, i was wondering is it possible to change the database name? Since i am using this for a javascript module, Basically what i wanted to do is just maybe allow a default constructor with no arguments passed for sqlite::database
so i can change it. Basically like this:
sqlite::database db;
void use_db(string name) {
db = sqlite::database(name);
}
idk where you define a database name? you give the wrapper the path to your database there is no name. At least as far as i know