You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature request. I think the cursor.mogrify() method is really useful, like if I want to log the exact query I'm about to execute. It'd be nice to have a cursor.mogrify_many() or similar that would give me back the exact insert statement I'm about to execute with executemany.
I'm not sure what it should do if the query is an update instead of an insert. Perhaps it could return the many queries joined with a semicolon and a newline, or it could always returns a list or iterator of the queries that were executed which would be of length one in the case of an insert query.
The text was updated successfully, but these errors were encountered:
This is a feature request. I think the cursor.mogrify() method is really useful, like if I want to log the exact query I'm about to execute. It'd be nice to have a cursor.mogrify_many() or similar that would give me back the exact insert statement I'm about to execute with executemany.
I'm not sure what it should do if the query is an update instead of an insert. Perhaps it could return the many queries joined with a semicolon and a newline, or it could always returns a list or iterator of the queries that were executed which would be of length one in the case of an insert query.
The text was updated successfully, but these errors were encountered: