Int64 / Long
Last updated
What is Int64 / Long?
Int64 (Long) data type in MongoDB stores 64-bit signed integers with a range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. This type handles large integer values that exceed Int32 limits while maintaining exact precision. Long integers are essential for timestamps, large counters, and applications requiring precise integer arithmetic with very large numbers.
Free resources to learn Int64 / Long
- Official docsLong
- ArticleMongoDB Int64
- Article@articleIssue with int64 stored in the field _id
More in stage 3: Collections & Methods
- Collections & Methods
- Counting Documents
- insert() and relevant
- find() and relevant
- update() and relevant
- delete() and relevant
- bulkWrite() and relevant
- validate()
- BSON vs JSON
- Embedded Objects & Arrays
- Double
- String
- Array
- Object
- Binary Data
- Undefined
- Object ID
- Boolean
- Date
- Null
- Regular Expression
- JavaScript
- Symbol
- Int32/Int
- Timestamp
- Decimal128
- Min Key
- Max Key
Int64 / Long: common questions
Can I learn Int64 / Long in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Int64 / Long in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Int64 / Long tutorial for beginners?
It is lesson 31 of 106 in the free MongoDB roadmap, in stage 3, Collections & Methods. If you are new to MongoDB, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.