diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-13 11:39:47 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-16 12:52:25 -0400 |
commit | aed2324b4de3c4f3e6cc7f801fc8ddd8e2d9012b (patch) | |
tree | e182b5f7b2396c980a42621e1d2cf1a962dd9c67 /lib/sqlalchemy/dialects/mysql/enumerated.py | |
parent | d8cddf61f9de1570257c575a149738ecec6a9d91 (diff) | |
download | sqlalchemy-aed2324b4de3c4f3e6cc7f801fc8ddd8e2d9012b.tar.gz |
Add multivalued insert context for defaultsreview/mike_bayer/ticket_4075
Added a new method :class:`.DefaultExecutionContext.current_parameters`
which is used within a function-based default value generator in
order to retrieve the current parameters being passed to the statement.
The new function differs from the ``.current_parameters`` attribute in
that it also provides for optional grouping of parameters that
correspond to a multi-valued "insert" construct. Previously it was not
possible to identify the subset of parameters that were relevant to
the function call.
Change-Id: I6894c7b4a2bce3e83c3ade8af0e5b2f8df37b785
Fixes: #4075
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/enumerated.py')
0 files changed, 0 insertions, 0 deletions