Db.getColumns
Db.getColumns($tableName) -> list
Description
Get a list of all column names in the table.
Db.getColumns('users') //= Ex: ['userId', 'userName', 'email', 'joinDate']
Get a list of all column names in the table.
Db.getColumns('users') //= Ex: ['userId', 'userName', 'email', 'joinDate']