core: Make strict schema support experimental

It's not tested properly so let's mark it as experimental for now.

Fixes #2775
This commit is contained in:
Pekka Enberg
2025-09-02 15:19:18 +03:00
parent 8f7e43b32b
commit 12cf4d2e72
14 changed files with 136 additions and 112 deletions

View File

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