mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
_mysql: Move type converter initialization outside of module. When opening
the connection, a mapping of MySQL types to Python functions may be passed as the keyword argument conv. This is stored as the converter attribute on the connection object, and may be modified, assigned, etc. MySQLdb: Build full converter dictionary, pass along to _mysql when creating a connection. MySQL_doc: Fixed a minor documentation bug.
This commit is contained in:
@ -114,7 +114,7 @@ def main():
|
||||
CAPTION("MySQL C API function mapping"),
|
||||
TR(TH("C API"), TH("_mysql")),
|
||||
MapTR("mysql_affected_rows()",
|
||||
"_mysql.affected_rows()"),
|
||||
"conn.affected_rows()"),
|
||||
MapTR("mysql_close()",
|
||||
"conn.close()"),
|
||||
MapTR("mysql_connect()",
|
||||
|
Reference in New Issue
Block a user