Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add bookshelf-default-select to Community Plugins #1706
Add link to the new bookshelf-default-select plugin, under the Community Plugins section of the README. This plugin allows a default set of columns to be defined within a model (when extending). Any fetches to the model (without the 'columns' option set) will only retrieve the specified columns.
Some tables may contain a large amount of columns. Some of these columns may be non-essential. In order to increase performance, and reduce wasted data, the user may want to select the essential columns whenever they are using the model.