Creating Records
- Use the client to insert items into the database
- If you create your model, you should just need to putItem
- putItem will either create an object if it doesn't exist or replace it
- This is sometimes called an upsert
public void saveUser(UserModel model) {
userTable.putItem(model);
}
20 / 25