cosmos db mongo code example
Example: cosmos db
Azure Cosmos DB is a technology created by Microsoft.
Cosmos DB is like any other database however it utilizes JSON.
Cosmos is fast, but it's downsize is that it uses 'Request Units' or RU.
Every request you make use up some amount of RU and it will cost some
amount of real life money depending how heavy your request is.
If you are thinking about using cosmos, you SHOULD use the cosmos db emulator
before you are actually in need of a production database.
Cosmos DB emulator is free and it works exactly like the real deal!