columnsForType (type) Array
private
Get the columns for a given model type.
Parameters:
-
type
Class
- The model type.
Returns:
-
Array
- An array of columns of the following format: name: {String} The name of the column. desc: {String} Humanized description (what would show in a table column name).
Please login to continue.