Table name: users no. of rows : 100000
How can I get all records using scan operation with the help of node.js.
var params = {
TableName:"users"};
docClient.scan(params, (error, result) => {
if (error) {
console.log('error', error);
} else {
console.log(result.Items); // x items
}
});
but its shows part of data only. not entire table data.