Design Better Database Models
Learn how to design better models when using MongoDB as a database in your application.
We'll cover the following...
Below are some key points to design better database models:
- We always use the correct data type for the field. For example, numbers should not be stored as a string, they should be of int, long, decimal, or double type only.
- Field names should have a consistent naming approach. For example, they