mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
feat: initial json_object implementation
This commit is contained in:
parent
0dceb02ec0
commit
c7b831515e
2 changed files with 32 additions and 0 deletions
|
@ -29,6 +29,7 @@ pub enum JsonFunc {
|
|||
JsonArrowExtract,
|
||||
JsonArrowShiftExtract,
|
||||
JsonExtract,
|
||||
JsonObject,
|
||||
JsonType,
|
||||
}
|
||||
|
||||
|
@ -45,6 +46,7 @@ impl Display for JsonFunc {
|
|||
Self::JsonArrayLength => "json_array_length".to_string(),
|
||||
Self::JsonArrowExtract => "->".to_string(),
|
||||
Self::JsonArrowShiftExtract => "->>".to_string(),
|
||||
Self::JsonObject => "json_object".to_string(),
|
||||
Self::JsonType => "json_type".to_string(),
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue