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