vogels icon indicating copy to clipboard operation
vogels copied to clipboard

Checking consumed capacity on create

Open matthewchung74 opened this issue 8 years ago • 0 comments

is it possible to call ReturnConsumedCapacity on a create call? for example, i know this does not work, but is there an equivalent?

Account.create({email: '[email protected]', name: 'Foo Bar', age: 21}, function (err, acc) {
  console.log('created account in DynamoDB', acc.get('email'));
}).ReturnConsumedCapacity()

matthewchung74 avatar Mar 24 '16 02:03 matthewchung74