Skip to main content

Command Palette

Search for a command to run...

What are the data types in MongoDB?

Updated
1 min read
What are the data types in MongoDB?
R

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference

Some of the most commonly used are:

  • Date
  • ObjectId
  • Int32
  • Long
  • Decimal128
  • Double
  • Timestamp
  • Array
  • String
  • Boolean
  • Binary

Sources:

Data Types — MongoDB Shell. www.mongodb.com/docs/mongodb-shell/reference/data-types.

More from this blog

R

Raja Muhammad Asher - Senior Software Engineer - Full Stack Developer

157 posts

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, ExpressJS, MySQL, MongoDB. Love collaborating & making a difference