mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-07 01:10:52 -04:00
89b81ec8c4
Added new Core feature :func:`_sql.from_dml_column` that may be used in expressions inside of :meth:`.UpdateBase.values` for INSERT or UPDATE; this construct will copy whatever SQL expression is used for the given target column in the statement to be used with additional columns. The construct is mostly intended to be a helper with ORM :class:`.hybrid_property` within DML hooks. This is the Core side of the feature being added to the ORM for #12496 Change-Id: Ic568638a8ce3607deea44af988b6451b30cde36c