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

how to create multiple in memory database? #364

Open
zeroxaa opened this issue Jul 26, 2024 · 2 comments
Open

how to create multiple in memory database? #364

zeroxaa opened this issue Jul 26, 2024 · 2 comments

Comments

@zeroxaa
Copy link

zeroxaa commented Jul 26, 2024

i am using
Connection::open_in_memory_with_flags(config)?;

i think it just open a connection to in memory db?

@jhpratt
Copy link

jhpratt commented Jul 30, 2024

Having the ability to create multiple in-memory databases would be wonderful for testing. Right now tests must necessarily be run serially, which is not ideal.

@jhpratt jhpratt mentioned this issue Jul 30, 2024
18 tasks
@zeroxaa
Copy link
Author

zeroxaa commented Jul 30, 2024

I actually need this for another reason, we want to create multiple transient databases for our customers, then those database can be query independently without interfering with each other.

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