farcepest / MySQLdb1

MySQL database connector for Python (legacy version)

Home Page:https://sourceforge.net/projects/mysql-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is MySQLdb support Prepared Statements ?

lexdene opened this issue · comments

A prepared statement is used to execute the same statement repeatedly with high efficiency and safety .
The prepared statement execution consists of two stages: prepare and execute. At the prepare stage a statement template is send to the database server. The server performs a syntax check and initializes server internal resources for later use.

Is MySQLdb support Prepared Statements ?

Prior to MySQL-5.1, prepared statements did not make use of MySQL query cache, so they weren't worth adding. Since this is changed, it might be worth another look.

Will look again for 1.3

That's good !