Skip to content
Allows getting/setting virtual (computed) properties on model instances.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Bookshelf Virtuals Plugin

Build Status Greenkeeper badge

This is a plugin for the Bookshelf Node.js ORM that allows getting or setting virtual (computed) properties on model instances.

How to use

First install the package:

npm install bookshelf-virtuals-plugin

Then load the plugin using bookshelf.plugin('bookshelf-virtuals-plugin'). Now you are all set to define virtual properties on your models.

For more information check the online wiki page.

You can’t perform that action at this time.