Fixing #3228 - allowing access to parameters in the transformer.
This commit is contained in:
parent
495399ad0a
commit
e2daf948c1
|
@ -46,7 +46,10 @@ class QueryRunner {
|
||||||
|
|
||||||
// transform as required
|
// transform as required
|
||||||
if (transformer) {
|
if (transformer) {
|
||||||
const runner = new ScriptRunner(transformer, { data: rows })
|
const runner = new ScriptRunner(transformer, {
|
||||||
|
data: rows,
|
||||||
|
params: parameters,
|
||||||
|
})
|
||||||
rows = runner.execute()
|
rows = runner.execute()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue