mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
14 lines
609 B
Plaintext
14 lines
609 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'"}
|
|
]
|
|
}
|