libsql-experimental
Advanced tools
+1
-1
@@ -872,3 +872,3 @@ # This file is automatically @generated by Cargo. | ||
| name = "libsql-python" | ||
| version = "0.0.52" | ||
| version = "0.0.53" | ||
| dependencies = [ | ||
@@ -875,0 +875,0 @@ "libsql", |
+1
-1
| [package] | ||
| name = "libsql-python" | ||
| version = "0.0.52" | ||
| version = "0.0.53" | ||
| edition = "2021" | ||
@@ -5,0 +5,0 @@ |
+1
-1
| Metadata-Version: 2.4 | ||
| Name: libsql-experimental | ||
| Version: 0.0.52 | ||
| Version: 0.0.53 | ||
| Classifier: Programming Language :: Rust | ||
@@ -5,0 +5,0 @@ Classifier: Programming Language :: Python :: Implementation :: CPython |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "libsql-experimental" | ||
| version = "0.0.52" | ||
| version = "0.0.53" | ||
| requires-python = ">=3.7" | ||
@@ -10,0 +10,0 @@ classifiers = [ |
+10
-6
@@ -584,11 +584,15 @@ use ::libsql as libsql_core; | ||
| .map_err(to_py_err)?; | ||
| let rows = stmt.query(params).await.map_err(to_py_err)?; | ||
| if stmt_is_dml { | ||
| let mut rowcount = cursor.rowcount.borrow_mut(); | ||
| *rowcount += cursor.conn.borrow().as_ref().unwrap().changes() as i64; | ||
| if stmt.columns().iter().len() > 0 { | ||
| let rows = stmt.query(params).await.map_err(to_py_err)?; | ||
| cursor.rows.replace(Some(rows)); | ||
| } else { | ||
| cursor.rowcount.replace(-1); | ||
| stmt.execute(params).await.map_err(to_py_err)?; | ||
| cursor.rows.replace(None); | ||
| } | ||
| let mut rowcount = cursor.rowcount.borrow_mut(); | ||
| *rowcount += cursor.conn.borrow().as_ref().unwrap().changes() as i64; | ||
| cursor.stmt.replace(Some(stmt)); | ||
| cursor.rows.replace(Some(rows)); | ||
| Ok(()) | ||
@@ -595,0 +599,0 @@ } |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
123370
0.06%