Deprecated
To be removed in aws-dynamodb@0.2
DynamoDB
.table('users')
.where('email').eq('test@test.com')
.increment({
login_count: 1
}, function( err, data ) {
console.log( err, data )
})
// Deprecated ways to deleting an attribute
DynamoDB
.table('messages')
.where('to').eq('user1@test.com')
.where('date').eq( 1375538399 )
.update({
seen: undefined,
subject: undefined
}, function(err) {})
DynamoDB
.table('messages')
.where('to').eq('user1@test.com')
.where('date').eq( 1375538399 )
.delete(['seen','subject'], function( err, data ) {
console.log( err, data )
})