mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
16 lines
547 B
Plaintext
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"]
|
|
}
|