1
0
Fork 0
mirror of synced 2024-06-01 18:20:18 +12:00

Fixing #3228 - allowing access to parameters in the transformer.

This commit is contained in:
mike12345567 2022-01-11 11:17:35 +00:00
parent 495399ad0a
commit e2daf948c1

View file

@ -46,7 +46,10 @@ class QueryRunner {
// transform as required
if (transformer) {
const runner = new ScriptRunner(transformer, { data: rows })
const runner = new ScriptRunner(transformer, {
data: rows,
params: parameters,
})
rows = runner.execute()
}