I wasn't able to find any information on the max length for a string data type in MongoDB on the main mongodb.org site. I'm coming from a relational database background and there are usually max lengths. Thank you!
相关问题
- MongoDB can not create unique sparse index (duplic
- Spring Data MongoDB - lazy access to some fields
- Golang mongodb aggregation
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
相关文章
- mongodb有没有什么办法禁止读取数据的时候进行缓存
- mongodb-aggregate聚合查询分组后如何获得多字段
- Ruby using wrong version of openssl
- mongodb error: how do I make sure that your journa
- How to track MongoDB requests from a console appli
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- “No explicit conversion of Symbol into String” for
This other question should answer your question:
Note that in the picked answer for that question the commenter mentions that it could be as large as 8mb or 16mb now.
So to answer your question, it's not necessarily that a single string can only be a certain length, but rather that the whole document must be under 16MB.
Follow here
See this: