摘要: today = datetime.utcnow() yesterday = today + timedelta(days=-1) record = [x for x in db.collection.find({'updatedAt': {'$gte': yesterday, '$lt': today}})] 阅读全文
posted @ 2019-07-18 14:01 yudis 阅读(141) 评论(0) 推荐(0) 编辑