【发布时间】:2020-07-29 12:45:56
【问题描述】:
如何查询大于特定日期的 Mongodb profiler
db.system.profile.find( { millis : { $gt:20000 } } ).sort( { ts : { $gt:ISODate("2020-07-29T02:10:01.132Z") and $lt:ISODate("2020-07-29T10:10:01.132Z") } } ).pretty()
【问题讨论】:
-
请发布一些示例数据
-
数据值必须在
find({}),你把它们放在sort中
标签: mongodb