diff --git a/bindings/rust/src/lib.rs b/bindings/rust/src/lib.rs index 783012c5d..6c04c231a 100644 --- a/bindings/rust/src/lib.rs +++ b/bindings/rust/src/lib.rs @@ -297,4 +297,8 @@ impl Row { limbo_core::OwnedValue::Blob(items) => Ok(Value::Blob(items.to_vec())), } } + + pub fn column_count(&self) -> usize { + self.values.len() + } }