我有一百萬個需要轉換的文檔。每個文件看起來像這樣:基於現有屬性的couchdb文檔屬性:批量更新
{
"_id": "00082786797c0a31ab8b5e67fb0000dc",
"_rev": "3-d67692b1c94b936ae913bf7ea4896bed",
"type": "Feature",
"properties": {
"timestamp": "2015-08-03 21:26:48.000",
"status": "on",
"avstatus": null,
"speed": "38",
"MS_DATE_TI": 1438576728000,
"STR_DATE_T": "1438576728000"
},
"geometry": {
"type": "Point",
"coordinates": [
-8784866.197274148,
4296254.156268783
]
}
}
我想創建一個基於每個記錄的「MS_DATE_TI」屬性的新屬性。什麼是最好的方式來做到這一點?
感謝,泰勒