Understanding schema-agnostic features

Now we will add another document to the same collection. In this case, the new document will have new keys that didn't exist in the previously inserted document.

Create a new JSON file with the following contents in your favorite text editor and save it in a temporary folder as videogame1_02.json. The following lines show the code that defines a new game with its tags, levels, high score achievements, and prizes. The code file for the sample is included in the learning_cosmos_db_02_01 folder in the videogames/videogame1_02.json file:

{ "id": "2", "name": "Fortnite vs Zombies", "lastCompetitionDate": "2018-09-30T03:31:20.7251173Z", "tags": [ "3D", "battle royale", "monsters", "shooter" ], "platforms": ...

Get Guide to NoSQL with Azure Cosmos DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.