mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 09:44:21 +01:00
Merge 'Add support for json_object function' from Jorge Hermo
Relates to #127. This PR is still in draft and I have a few left things to do (tests, improve implementation), just opening it so anyone can track this work meanwhile. Closes #664
This commit is contained in:
@@ -235,7 +235,7 @@ Modifiers:
|
||||
|
||||
| Modifier | Status| Comment |
|
||||
|----------------|-------|---------------------------------|
|
||||
| Days | Yes | |
|
||||
| Days | Yes | |
|
||||
| Hours | Yes | |
|
||||
| Minutes | Yes | |
|
||||
| Seconds | Yes | |
|
||||
@@ -274,7 +274,7 @@ Modifiers:
|
||||
| json ->> path | Yes | |
|
||||
| json_insert(json,path,value,...) | | |
|
||||
| jsonb_insert(json,path,value,...) | | |
|
||||
| json_object(label1,value1,...) | | |
|
||||
| json_object(label1,value1,...) | Yes | When keys are duplicated, only the last one processed is returned. This differs from sqlite, where the keys in the output can be duplicated |
|
||||
| jsonb_object(label1,value1,...) | | |
|
||||
| json_patch(json1,json2) | | |
|
||||
| jsonb_patch(json1,json2) | | |
|
||||
|
||||
Reference in New Issue
Block a user