mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
chore: add todo
This commit is contained in:
parent
e01b8f8343
commit
06208af2e8
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,8 @@ pub fn json_object(values: &[OwnedValue]) -> crate::Result<OwnedValue> {
|
|||
[key, value] => {
|
||||
let key = match key {
|
||||
// TODO: is this tp_string call ok?
|
||||
// TODO: We can construct the IndexMap from Rc<String>, but we must enable the
|
||||
// serde's `rc` feature so we can serialize Rc<String>
|
||||
OwnedValue::Text(t) => t.value.to_string(),
|
||||
// TODO: I matched sqlite message error here. Is this ok?
|
||||
_ => crate::bail_constraint_error!("labels must be TEXT"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue