未知
raisin.mysqldb的Python项目详细描述
=raisin.mysqldb=
此模块包含一个类,用于保持与MySQL数据库的连接:
- class DB:
- “”” Encapsulate a MySQL connection in a class instance “”“
它还包含一个运行python方法的方法,同时在 需要:
- def run_method_using_mysqldb(method, parameters, marker):
- “”“
- Run a method containing some code making use of the MySQL database. If anything goes wrong, return the marker, otherwise the result. “”“