标签:pat 数据 number eal not 自己 because 文档 obj
Generally in MongoDB, you would not use an auto-increment pattern for the _id field, or any field, because it does not scale for databases with large numbers of documents. Typically the default value ObjectId is more ideal for the _id.
文档上自己说,not scale for databases with large numbers of documents,自增的不适合有大数量documents的数据库
id的问题
标签:pat 数据 number eal not 自己 because 文档 obj
原文地址:http://www.cnblogs.com/heinz-lxy/p/6666978.html