December 2019
Intermediate to advanced
494 pages
11h 41m
English
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 ...