You can call app_tables.my_table.list_columns()
to get a list of all the column names for a table. This doesn’t expose the types of these columns, but it does allow you to at least enumerate the columns efficiently
(More info in the data tables API docs)