Demo: Reading Data
Practice reading data from the DynamoDB tables.
We'll cover the following...
We'll cover the following...
Creating a table
Uptill now, we have learnt that we can create a table. For this demo, let’s create a table of medicines. We will keep the “chemical formula” as the partition key and the “dosage” as the sort key. The following is a simple code for creating such a table:
Inserting items
Let’s use the bulk-write-item command to insert a few items into our table.
| Chemical formula | Dosage (mg) |
|---|