Ex:Setup Student model

Hands on Exercise

In this exercise you will use the NoSQL Workbench to model the Student Entity. Use the Entity Relationship Diagram below as a guide.

exercise-

1. Launch workbench and create a new model

  • Name: Student model

2. Add a table definition

  • Name: Student
  • Use the diagram for attribute names and data types

3. Add some test data to it

4. (Optional) Commit the model to Local DynamoDB

  • Try running operations against the table in WorkBench
  • OR use CLI

Solution

  • Open workbench
    • Click on Data modeler
    • Click on the left arrow and select the file in project repo
    • modeling/solutions/Create-Student-Model-1.json
  • Click on the aggregate view to check out the data
  • Commit to Local DynamoDB to try out operations

import model