QGIS/resources/function_help/json/generate_series
2018-08-24 11:28:58 +02:00

14 lines
587 B
Plaintext

{
"name": "generate_series",
"type": "function",
"description": "Creates an array containing a sequence of numbers.",
"arguments": [
{"arg":"start", "description":"first value of the sequence"},
{"arg":"stop", "description":"value that ends the sequence once reached"},
{"arg":"step","optional":true,"default":"1","description":"value used as the increment between values"}
],
"examples": [ { "expression":"generate_series(1,5)", "returns":"array: 1, 2, 3, 4, 5"},
{ "expression":"generate_series(5,1,-1)", "returns":"array: 5, 4, 3, 2, 1"}
]
}