You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to open the SQLite database file in read-only mode (to allow read access, e.g. SELECT) so I tried these DSN URLs:
let path = "sqlite:///data/mydb.sqlite?mode=ro";// let path = "sqlite:/data/mydb.sqlite?mode=ro";// let path = "sqlite:/data/mydb.sqlite";let pool = deadpool_sqlite::Config::new(path).create_pool(deadpool_sqlite::Runtime::Tokio1).unwrap();
But none of this works, is there any wrong in config, or deadpool-sqlite/ rusqlite not support this?
The text was updated successfully, but these errors were encountered:
I want to open the SQLite database file in read-only mode (to allow read access, e.g. SELECT) so I tried these DSN URLs:
But none of this works, is there any wrong in config, or
deadpool-sqlite
/rusqlite
not support this?The text was updated successfully, but these errors were encountered: