PARAMETERSΒΆ

Returns script INIT block argument names and types.

Syntax:

PARAMETERS(script:'/user/script1.sx')
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
// /user/script1.sx:s
INIT(
  from:now()[-2 day],
  to:now(),
  username::string,
  type:'LOGIN'
);

LIST(...)
| parse(...)
| filter(xxx >= $from ...)
name type mandatory
from TIMESTAMP false
to TIMESTAMP false
username STRING true
type STRING false