archer icon indicating copy to clipboard operation
archer copied to clipboard

dao的改造计划

Open LeoQuote opened this issue 7 years ago • 0 comments

目前 https://github.com/jly8866/archer/blob/master/sql/dao.py 的Dao对象只是一堆函数的集合,没有把对象这个功能用上, 我计划直接把master_config或者 slave_config 对象直接传进来当参数, 初始化dao对象, 这样调用的时候就不需要每次都加 username password 这类的信息了

LeoQuote avatar Jul 17 '18 06:07 LeoQuote