How to use the bookshelf/dialects/base/collection.CollectionBase function in bookshelf

To help you get started, we’ve selected a few bookshelf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github valet-io / bookshelf-authorization / test / mocks / bookshelf.js View on Github external
module.exports = {
  Model: require('bookshelf/dialects/base/model').ModelBase,
  Collection: require('bookshelf/dialects/base/collection').CollectionBase,
  plugin: function (plugin) {
    plugin(this);
    return this;
  }
};