i’m current using Compass Version 1.41.0, i have a record like this below:
{
"_id": {
"$numberLong": "1738455748189356060"
},
"conversionConfigs": [
{
"_id": {
"$numberLong": "1738455748189356035"
},
"beforeUnit": "BOX",
"afterUnit": "MT",
"type": 2,
"packType": 1,
"ratio": "0.01236"
}
],
"parentId": {
"$numberLong": "0"
},
"parentGoodsName": "",
"rootId": {
"$numberLong": "0"
},
"distributionStatus": "1",
"tenantId": {
"$numberLong": "1250716842252255232"
}
}
i can’t using compass to query this record with simply _id:
db.demo.find({_id:1738455748189356060})
i also tried this:
db.demo.find({_id: NumberLong(1738455748189356060)})
i got nothing returned…why? this really confuse me…Help please~~
and i add another record with _id: 1738455748189356032, when i query with _id: 1738455748189356060, it returned the record with 1738455748189356032, this is insane…