2022-01-13 08:56:17 -05:00

16 lines
547 B
Plaintext

{
"name": "eval_template",
"type": "function",
"groups": ["General"],
"description": "Evaluates a template which is passed in a string. Useful to expand dynamic parameters passed as context variables or fields.",
"arguments": [{
"arg": "template",
"description": "a template string"
}],
"examples": [{
"expression": "eval_template('QGIS [% upper(\\\\'rocks\\\\') %]')",
"returns": "QGIS ROCKS"
}],
"tags": ["dynamic", "fields", "parameters", "template", "expand", "context", "passed", "variables", "evaluates"]
}