mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-20 15:35:29 +01:00
fix generation for string literal
This commit is contained in:
@@ -256,7 +256,7 @@ impl From<Value> for ast::Literal {
|
||||
Value::Null => Self::Null,
|
||||
Value::Integer(i) => Self::Numeric(i.to_string()),
|
||||
Value::Float(f) => Self::Numeric(f.to_string()),
|
||||
Value::Text(string) => Self::String(string),
|
||||
Value::Text(string) => Self::String(format!("'{}'", string)),
|
||||
Value::Blob(blob) => Self::Blob(hex::encode(blob)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user