Skip to content

Add bookshelf-default-select to Community Plugins#1706

Merged
ricardograca merged 1 commit into
bookshelf:masterfrom
DJAndries:master
Dec 12, 2017
Merged

Add bookshelf-default-select to Community Plugins#1706
ricardograca merged 1 commit into
bookshelf:masterfrom
DJAndries:master

Conversation

@DJAndries

@DJAndries DJAndries commented Dec 12, 2017

Copy link
Copy Markdown
Contributor

Introduction

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.

Motivation

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.

@ricardograca

Copy link
Copy Markdown
Member

@DJAndries Can you fill out the description according to the provided template? At least the Introduction and Motivation parts, because I had to go to your Readme file to understand what this plugin does. Apart from that everything looks good to me.

@DJAndries

Copy link
Copy Markdown
Contributor Author

@ricardograca Updated

@ricardograca
ricardograca merged commit fcd44ce into bookshelf:master Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants