<分区>
当在 mongodb
中存储来自 java 程序的 long 值时,该值以这种格式存储
`NumberLong(n)`.
db.mycollection.find()
{ "_id" : ObjectId("52bd9475c8ceae448b16c077"), "companyId" : NumberLong(10132), "tableId" : NumberLong(87803), "rowId" : NumberLong(88154), "classNameId" : NumberLong(10129), "classPK" : NumberLong(88153) }
但我想将值存储为 10132、87803 等。