Add mvcc and index config to connection open api

This commit is contained in:
PThorpe92
2025-06-30 22:00:09 -04:00
parent 2e967b778b
commit bbee10ba2c
4 changed files with 21 additions and 10 deletions

View File

@@ -300,7 +300,7 @@ impl Drop for Connection {
#[allow(clippy::arc_with_non_send_sync)]
#[pyfunction]
pub fn connect(path: &str) -> Result<Connection> {
match turso_core::Connection::from_uri(path) {
match turso_core::Connection::from_uri(path, false, false) {
Ok((io, conn)) => Ok(Connection { conn, io }),
Err(e) => Err(PyErr::new::<ProgrammingError, _>(format!(
"Failed to create connection: {:?}",