cancel
Showing results for 
Search instead for 
Did you mean: 

Add prefix to each column

Ajay_Chawda
Contributor

Hello Experts,
for eg. if i have 50 columns and wanted to add some prefix to each column value then without mapping individual column in mapper how can i do it?

Regards,
Ajay

1 REPLY 1

alchemiz
Contributor III

Hi Ajay,

You can always use the object function mapKeys…

example: $.mapKeys((val,key)=> ‘MyStaticPrefix_’.concat(key))

Thanks