myFunc:{[x]
// ...
}
I know i can perform a row operation on my table using the update statement this way:
update newVal: myFunc each someField from someTable;
Now if my function takes 2 params:
myFunc2: {[x;y]
// x and y are different types
}
How do i now pass in two params per row operation? I tried these:
update newVal: myFunc2 each someField, otherField from someTable;
update newVal: myFunc2 . (someField;otherField) from someTable;
Didn't seem to work, what is the right way to pass more than 1 params to a function in an update stmt?