noppoMan / npdynamodb

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

SchemaBuilder.provisionedThroughput pass the ReadCapacityUnits to WriteCapacityUnits #8

Closed noppoMan closed 9 years ago

noppoMan commented 9 years ago
SchemaBuilder.prototype.provisionedThroughput = function(r, w){
  this._schema.tableInfo.ProvisionedThroughput.ReadCapacityUnits = r;
  this._schema.tableInfo.ProvisionedThroughput.WriteCapacityUnits = r;
};

w is never used.