title | description | services | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|
include file |
include file |
cosmos-db |
SnehaGunda |
cosmos-db |
include |
08/07/2019 |
sngun |
include file |
You can now add data to your new container using Data Explorer.
-
From the Data Explorer, expand the Tasks database, expand the Items container. Select Items, and then select New Item.
-
Now add a document to the container with the following structure.
{ "id": "1", "category": "personal", "name": "groceries", "description": "Pick up apples and strawberries.", "isComplete": false }
-
Once you've added the json to the Documents tab, select Save.
-
Create and save one more document where you insert a unique value for the
id
property, and change the other properties as you see fit. Your new documents can have any structure you want as Azure Cosmos DB doesn't impose any schema on your data.