rename. Changing column name   [3.4.6]

^table.rename[old column name;new column name]
^
table.rename[ $.old_column_name[new column name ]

This method changes the name of one or several columns of the table.

Пример
^data.rename[ $.dt1[create_date] $.dt2[modify_date] ]

After executing the code the
dt1 column will have the name create_date and the dt2 column - modify_date.



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 26.01.2021