[Python-ideas] Improved support for prepared SQL statements
SF Markus Elfring
elfring at users.sourceforge.net
Mon Dec 1 13:01:26 CET 2014
An interface for parameterised SQL statements (working with placeholders) is provided by the execute() method from the Cursor class at the moment.
I assume that the "SQL Statement Object" from the SQLite C interface is reused there already.
I imagine that it will be more efficient occasionally to offer also a base class like "prepared_statement" so that the parameter specification does not need to be parsed for every passed command.
I suggest to improve corresponding preparation and compilation possibilities.
More information about the Python-ideas