robo 3t mongodb 去除重複數據的簡單語句

最近在用mongodb錄分鐘線,出現了不少重複數據和垃圾數據。以下。html 使用如下語句查詢重複數據,我這個簡單隻須要時間重複就能夠了。mongodb db.getCollection('btc_usd_quarter_10').aggregate([{$group:{_id:{datetime:'$datetime'}, count:{$sum:1}}},{$match:{count:{$gt
相關文章
相關標籤/搜索