Created
November 1, 2017 05:55
-
-
Save zhangpengGenedock/761c34cb16e1d27a0c54b2e6d3ceb2dd to your computer and use it in GitHub Desktop.
mongo增加deleted_size字段
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.gddata_daily_stats.update({'date':{'$lte':'2017-09-12','$gte':'2017-09-01'}},{$set : {"deleted_size": 0}},{upsert:false,multi:true}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment