mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
s/LimboText/Text/g
This commit is contained in:
parent
2546413d40
commit
f769d1aa2a
2 changed files with 3 additions and 3 deletions
|
@ -56,14 +56,14 @@ pub fn vector_extract(args: &[OwnedValue]) -> Result<OwnedValue> {
|
|||
};
|
||||
|
||||
if blob.is_empty() {
|
||||
return Ok(OwnedValue::Text(crate::types::LimboText::new(
|
||||
return Ok(OwnedValue::Text(crate::types::Text::new(
|
||||
std::rc::Rc::new("[]".to_string()),
|
||||
)));
|
||||
}
|
||||
|
||||
let vector_type = vector_type(blob)?;
|
||||
let vector = vector_deserialize(vector_type, blob)?;
|
||||
Ok(OwnedValue::Text(crate::types::LimboText::new(
|
||||
Ok(OwnedValue::Text(crate::types::Text::new(
|
||||
std::rc::Rc::new(vector_to_text(&vector)),
|
||||
)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue