classification
Title: sqlite3 mogrify - return query string
Type: enhancement Stage: test needed
Components: Extension Modules Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: goatbar, r.david.murray
Priority: normal Keywords:

Created on 2010-08-04 11:29 by goatbar, last changed 2010-08-04 14:43 by r.david.murray.

Messages (2)
msg112790 - (view) Author: Kurt Schwehr (goatbar) Date: 2010-08-04 11:29
Psycopg2 has a mogrify method on the cursor that returns the string that would be sent to the database for an execute.  Any chance that could be added to pysqlite?  It's definitely helpful for debugging and is a fantastic tool when teaching people databases.
msg112815 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2010-08-04 14:43
Can you propose a patch?
History
Date User Action Args
2010-08-04 14:43:45r.david.murraysetversions: + Python 3.2, - Python 3.1, Python 2.7
nosy: + r.david.murray

messages: + msg112815

stage: test needed
2010-08-04 11:29:02goatbarcreate