Open Sqlite database connection pool #255
vjkolaventy
started this conversation in
General
Replies: 2 comments
-
let rb = Rbatis::new();
// ------------choose database driver------------
rb.init(
rbdc_sqlite::driver::SqliteDriver {},
"sqlite://?mode=memory",
)
.unwrap(); |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wanted to know if there is something similar to Sqlite::database_exists. I dont want to create a database file every time I open a database connection in case there is no database file already created. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Can you please guide me on how to create a database connection pool for high volume transactions? I also would like to know how to open a database connection without creating a new database file in case the there is no database file in which case it should return an error. Thanks
Regards
Vijay
Beta Was this translation helpful? Give feedback.
All reactions