-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename json functions to postgres names
- Loading branch information
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
resources/function_help/json/load_json → resources/function_help/json/from_json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "load_json", | ||
"name": "from_json", | ||
"type": "function", | ||
"description": "Loads a JSON formatted string.", | ||
"arguments": [ | ||
{"arg":"string", "description":"JSON string"}], | ||
"examples": [ | ||
{"expression":"load_json('{\"qgis\":\"rocks\"}')", "returns":"{ \"qgis\" : \"rocks\" }"}, | ||
{"expression":"load_json('[1,2,3]')", "returns":"[1,2,3]"} | ||
{"expression":"from_json('{\"qgis\":\"rocks\"}')", "returns":"{ \"qgis\" : \"rocks\" }"}, | ||
{"expression":"from_json('[1,2,3]')", "returns":"[1,2,3]"} | ||
] | ||
} |
6 changes: 3 additions & 3 deletions
6
resources/function_help/json/write_json → resources/function_help/json/to_json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "write_json", | ||
"name": "to_json", | ||
"type": "function", | ||
"description": "Create a JSON formatted string from a map, array or other value.", | ||
"arguments": [ | ||
{"arg":"value", "description":"The input value"}], | ||
"examples": [ | ||
{ "expression":"write_json(map('qgis','rocks'))", "returns":"{\"qgis\":\"rocks\"}"}, | ||
{ "expression":"write_json(array(1,2,3))", "returns":"[1,2,3]"} | ||
{ "expression":"to_json(map('qgis','rocks'))", "returns":"{\"qgis\":\"rocks\"}"}, | ||
{ "expression":"to_json(array(1,2,3))", "returns":"[1,2,3]"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters