对于以下转储:
mongoexport --db AegroDB -f "realizationStartDate" -c T_OBSERVATION --query '{"type":"PEST_INCIDENCE",'realizationStartDate':{$ne:null}}'
我有这些结果:
{"_id":{"$oid":"55fc25ece4b05dccd6450478"},"realizationStartDate":{"$numberLong":"1443150000000"}}
{"_id":{"$oid":"565d9466e4b07bd3e9840e2a"},"realizationStartDate":{"$numberLong":"1448935200000"}}
{"_id":{"$oid":"565db72ce4b099bace4cb9de"},"realizationStartDate":{"$numberLong":"1448848800000"}}
{"_id":{"$oid":"565db9aee4b01d782a3bc5af"},"realizationStartDate":{"$numberLong":"1449108000000"}}
{"_id":{"$oid":"565dc17ae4b077cd2daa1ad2"},"realizationStartDate":{"$numberLong":"1449367200000"}}
如何realizationStartDate
在转储中将该字段输出为 ISODate?我正在使用 3.0.7。
谢谢