TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

MongoDB Data Types

MongoDB Data Types for beginners and professionals with examples on CRUD, insert document, query document, update document, delete document, use database, projection etc.

<< Back to MONGODB

MongoDB Datatypes

Following is a list of usable data types in MongoDB.

Data TypesDescription
StringString is the most commonly used datatype. It is used to store data. A string must be UTF 8 valid in mongodb.
IntegerInteger is used to store the numeric value. It can be 32 bit or 64 bit depending on the server you are using.
BooleanThis datatype is used to store boolean values. It just shows YES/NO values.
DoubleDouble datatype stores floating point values.
Min/Max KeysThis datatype compare a value against the lowest and highest bson elements.
ArraysThis datatype is used to store a list or multiple values into a single key.
ObjectObject datatype is used for embedded documents.
NullIt is used to store null values.
SymbolIt is generally used for languages that use a specific type.
DateThis datatype stores the current date or time in unix time format. It makes you possible to specify your own date time by creating object of date and pass the value of date, month, year into it.




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf