summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/pymysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-06-26 16:53:51 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-06-27 14:13:43 -0400
commitc270efdfb38a266ac042be2a0d11b6ff7e5ee619 (patch)
tree889cc5044b231154e27356f5c584778ef7f21a99 /lib/sqlalchemy/dialects/mysql/pymysql.py
parent1827af37cfc7494143ae290da435029043af2372 (diff)
downloadsqlalchemy-c270efdfb38a266ac042be2a0d11b6ff7e5ee619.tar.gz
Add do_setinputsizes event for cx_Oracle
Added a new event currently used only by the cx_Oracle dialect, :meth:`.DialectEvents.setiputsizes`. The event passes a dictionary of :class:`.BindParameter` objects to DBAPI-specific type objects that will be passed, after conversion to parameter names, to the cx_Oracle ``cursor.setinputsizes()`` method. This allows both visibility into the setinputsizes process as well as the ability to alter the behavior of what datatypes are passed to this method. Change-Id: I43b97c8e3c840cad6f01edb274dc9cfed19cb5fc Fixes: #4290
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
0 files changed, 0 insertions, 0 deletions