1.0.2 • Published 7 years ago

client-data-source v1.0.2

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
7 years ago

client-data-source

Module for dynamically creating Data source and assigning to Model

Installation

npm install client-data-source --save

Usage

var clientdatasource = require('client-data-source') yourModel.js

yourModel.observe('before save', function (ctx, next) {

    clientDataSource(yourModel, ctx, next)

});

yourModel.observe('access', function (ctx, next) {

    clientDataSource(yourModel, ctx, next)

});

Tests

N / A

Contributing

Release History

  • 0.1.0 Initial release
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago