Migrating Applications to the Cloud with Azure
by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
The document model/MongoDB API
The document model database is probably the most applicable and most popular of the NoSQL databases and closely resembles traditional SQL databases. As the name implies, document databases store documents – not Word or Excel documents, but rather objects, like you would have in your C# code. Each document has a key and properties, such as strings, integers, arrays of values, and even other documents. Thinking in SQL terms, the biggest difference between designing document databases and SQL databases is the lack of foreign key constraints. In document databases, you have to denormalize data.
Imagine modeling a company with employees. In SQL, you'd create a Company table and an Employee table, perhaps with a table ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access