1

我的文件图片

这是我的一份包含旅行详细信息的文件。回程乘车乘客的一个文件的下降纬度等于另一个文件的取件纬度。但我无法查询一个字段并查询所有其他匹配的文件条件。

{

"_id" : ObjectId("5a1058cd2514972098b5b4e6"),

"trip_id" : 895728,

"pass_id" : 1,

"driver_id" : 5119,

"pick_lat" : 16.863973,

"pick_lon" : 96.11646259999999,

"drop_lat" : 16.806106699999997,

"drop_lon" : 96.15429830000001,

"pickup_date" : ISODate("2017-10-27T13:00:58.000+05:30"),

"drop_date" : ISODate("2017-10-27T14:10:21.000+05:30"),

"distance" : 11.13,

"coordinates" : [
        96.11646259999999,
        16.863973
    ],
    "type" : "Point",
    "
loglat" : {

"type" : "Point",

"coordinates" : [
            96.11646259999999,
            16.863973

]
    }
},
4

0 回答 0