vogels
vogels copied to clipboard
Checking consumed capacity on create
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()