.fctbNone { color: #000000 }
.fctbStyle5 { color: #0000ff }
.fctbStyle7 { color: #4682b4 }
.fctbStyle6 { color: #800000 }
.fctbStyle2 { color: #ff0000 }
.fctbStyle3 { color: #ff00ff }
执行脚本命令: db.collectionName.ensureIndex({"fieldName": 1},{expireAfterSeconds: 864000});
如:db.httpRequestLog.ensureIndex({"requestTime": 1},{expireAfterSeconds: 864000});
原文地址:https://www.cnblogs.com/yucongblog/p/9110380.html
时间: 2024-10-29 19:23:07