Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to change database name #206

Open
Syn9673 opened this issue Jun 7, 2020 · 1 comment
Open

ability to change database name #206

Syn9673 opened this issue Jun 7, 2020 · 1 comment

Comments

@Syn9673
Copy link

Syn9673 commented Jun 7, 2020

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);
}
@codethinki
Copy link

codethinki commented Dec 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants