...

/

Design Better Database Models

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:

  1. 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.
  2. Field names should have a consistent naming approach. For example, they
...