Update python bindings to use the new retrieval methods to access Record values.

This commit is contained in:
Tiago Ribeiro
2025-02-10 00:19:44 -07:00
parent 4b67e67b31
commit c69d69a3a2

View File

@@ -300,7 +300,7 @@ pub fn connect(path: &str) -> Result<Connection> {
fn row_to_py(py: Python, row: &limbo_core::Row) -> PyObject {
let py_values: Vec<PyObject> = row
.values
.get_values()
.iter()
.map(|value| match value.to_value() {
limbo_core::Value::Null => py.None(),