2.1.0 • Published 8 years ago

dynamosaur v2.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

dynamosaur NPM version Build Status Dependency Status Coverage percentage

Dynamodb query builder

Installation

$ npm install --save dynamosaur

Usage

var Dynamosaur = require('dynamosaur');

new Dynamosaur()
  .getIn('Movies')
  .exec()
  .then(res => {
    console.log('## GET ALL MOVIES : ', res.data.Items);
  }, err => {
    console.log('## ERROR ON GET ALL MOVIES : ',err );
  });

You can define another region for dynamoDB like this
new Dynamosaur('myregion')
  .getIn('Movies')

SEE ./TestFile.js for multiple examples

License

MIT © Marvin Frachet, Sébastien Dez