01 2021 档案

摘要:import codesimport jsondef write_json(self,result,json_name): with codecs.open(json_name, "w", "utf-8") as f: j = json.dumps(result, indent=4, ensure_ 阅读全文
posted @ 2021-01-18 10:50 fyangq 阅读(341) 评论(0) 推荐(0)
摘要:1.将数据从现有表复制到新的数据,例如备份数据和复制生产数据进行测试。我们要想将数据从旧表复制到新表,那我们需要使用的sql案例如下: CREATE TABLE new_table SELECT col, col2, col3 FROM existing_table; 首先使用create tabl 阅读全文
posted @ 2021-01-16 15:42 fyangq 阅读(1144) 评论(0) 推荐(0)
摘要:1、安装 想要postman连接mysql,需要安装xmysql,启动该服务,然后才可以调用。 预置条件:完成nodejs和npm的安装 安装时要注意版本的匹配问题,用法和注意事项可查看https://github.com/o1lab/xmysql#xmysql--one-command-to-ge 阅读全文
posted @ 2021-01-13 15:29 fyangq 阅读(178) 评论(0) 推荐(0)