add Row::column_count

This commit is contained in:
Peter Hayman
2025-05-01 15:31:38 +10:00
parent 29d463aa89
commit 8f366e98d5

View File

@@ -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()
}
}