Version: v0.7.0 - 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')

//= e.g. ['userId', 'userName', 'email', 'joinDate']

See Also