Adding multiple columns to a dataset

Has there ever been consideration to have “addColumns” added to the system.dataset API?

There is “addRow” and “addRows”.

Thanks,

Nick

I would argue that a variadic function that requires four or five arguments per call is an antipattern.
Yes, addRows exists, but it’s much more common to want to add multiple rows than multiple columns.

If you want to skip the intermediate datasets addColumn creates before you get to your final result, you could use DatasetBuilder to construct the entire dataset at once.

2 Likes

:100: