02 2020 档案
摘要:pymongo的聚合操作 数据类型样式 /* 1 */ { "_id" : ObjectId("5e5a32fe2a89d7c2fc05b9fc"), "user_id" : "1", "amount" : 500, "status" : "A" } /* 2 */ { "_id" : Object
阅读全文
摘要:1. 连接数据库 import redis class RedisTest(object): def __init__(self): self.client = redis.StrictRedis(host="xx",port=xx,password="xx",db=0,decode_respons
阅读全文