fix
This commit is contained in:
parent
8e7941131f
commit
9598b8fd5d
@ -11,7 +11,7 @@ usage: m = mysqlBase(host='xxx',db='xxx',user='xxx',pwd='xxx') 实例化
|
||||
m.change("update core set a='aaa' where id=1") 可以多条插入
|
||||
m.query("select * from core")
|
||||
"""
|
||||
from .mlog import log
|
||||
import logging
|
||||
import warnings
|
||||
try:
|
||||
import MySQLdb
|
||||
@ -20,7 +20,7 @@ except:
|
||||
pymysql.install_as_MySQLdb()
|
||||
import MySQLdb
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
###mysql操作类
|
||||
class MysqlBase:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user