Created
June 14, 2017 14:10
-
-
Save matthieu-D/a9c68db96f78a29f3f6217def1d9aa05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var params = { | |
TableName: 'ionic-mobile-hub-tasks' | |
}; | |
dynamo.describeTable(params, function(err, data) { | |
if (err) { | |
console.log(err); // an error occurred | |
} | |
else { | |
console.log(data.Table.ItemCount); | |
var responseBody = { | |
received: true, | |
itemCount: data.Table.ItemCount | |
}; | |
. | |
. | |
. | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment