Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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']

See Also