in lambda/database.ts [43:59]
public async usersGet(): Promise<User[]> {
const users = [];
const resp = await this.ddb.scan({
TableName: this.userTable
}).promise();
if (resp.Items) {
for (const item of resp.Items) {
users.push(this.userConvert(item));
}
}
return users;
}