Skip to content
Permalink
Browse files

Function help improvements

  • Loading branch information
m-kuhn committed Dec 18, 2018
1 parent 65e60d1 commit d3a1285f6352b7a14f4d63e79c2976fea927c062
Showing with 2 additions and 2 deletions.
  1. +2 −2 resources/function_help/json/decode_uri
@@ -5,8 +5,8 @@
"arguments": [ {"arg":"layer","description":"The layer for which the uri should be decoded."},
{"arg":"part","description":"The part of the uri to return. If unspecified, a map with all uri parts will be returned."} ],
"examples": [ { "expression":"decode_uri(@layer)", "returns":"{'layerId': '0', 'layerName': '', 'path': '/home/qgis/shapefile.shp'}"},
{ "expression":"decode_uri(@layer)", "returns":"{'layerId': NULL, 'layerName': 'layer', 'path': '/home/qgis/geopackage.shp'}"},
{ "expression":"decode_uri(@layer), 'path'", "returns":"'/home/qgis/geopackage.shp'"}
{ "expression":"decode_uri(@layer)", "returns":"{'layerId': NULL, 'layerName': 'layer', 'path': '/home/qgis/geopackage.gpkg'}"},
{ "expression":"decode_uri(@layer), 'path'", "returns":"'C:\my_data\qgis\shape.shp'"}
]
}

0 comments on commit d3a1285

Please sign in to comment.
You can’t perform that action at this time.