noppoMan / npdynamodb

A Node.js Simple Query Builder and ORM for AWS DynamoDB
112 stars 19 forks source link

streamSpecificationEnabled and streamSpecificationViewType are reversed #44

Closed brett--anderson closed 8 years ago

brett--anderson commented 8 years ago

Current Code `SchemaBuilder.prototype.streamSpecificationEnabled = function(type){ this._definePropsIfNotExists('StreamSpecification'); this._schema.tableInfo.StreamSpecification.StreamViewType = type; };

SchemaBuilder.prototype.streamSpecificationViewType = function(bool){ this._definePropsIfNotExists('StreamSpecification'); this._schema.tableInfo.StreamSpecification.StreamEnabled = bool; };`

I'll issue a pull request in a moment to switch this.