@property
def inserted(self):
    'Provide the "inserted" namespace for an ON DUPLICATE KEY UPDATE statement\n\n        MySQL\'s ON DUPLICATE KEY UPDATE clause allows reference to the row\n        that would be inserted, via a special function called ``VALUES()``.\n        This attribute provides all columns in this row to be referenceable\n        such that they will render within a ``VALUES()`` function inside the\n        ON DUPLICATE KEY UPDATE clause.    The attribute is named ``.inserted``\n        so as not to conflict with the existing\n        :meth:`_expression.Insert.values` method.\n\n        .. tip::  The :attr:`_mysql.Insert.inserted` attribute is an instance\n            of :class:`_expression.ColumnCollection`, which provides an\n            interface the same as that of the :attr:`_schema.Table.c`\n            collection described at :ref:`metadata_tables_and_columns`.\n            With this collection, ordinary names are accessible like attributes\n            (e.g. ``stmt.inserted.some_column``), but special names and\n            dictionary method names should be accessed using indexed access,\n            such as ``stmt.inserted["column name"]`` or\n            ``stmt.inserted["values"]``.  See the docstring for\n            :class:`_expression.ColumnCollection` for further examples.\n\n        .. seealso::\n\n            :ref:`mysql_insert_on_duplicate_key_update` - example of how\n            to use :attr:`_expression.Insert.inserted`\n\n        '
    return self.inserted_alias.columns
Provide the "inserted" namespace for an ON DUPLICATE KEY UPDATE statement

MySQL's ON DUPLICATE KEY UPDATE clause allows reference to the row
that would be inserted, via a special function called ``VALUES()``.
This attribute provides all columns in this row to be referenceable
such that they will render within a ``VALUES()`` function inside the
ON DUPLICATE KEY UPDATE clause.    The attribute is named ``.inserted``
so as not to conflict with the existing
:meth:`_expression.Insert.values` method.

.. tip::  The :attr:`_mysql.Insert.inserted` attribute is an instance
    of :class:`_expression.ColumnCollection`, which provides an
    interface the same as that of the :attr:`_schema.Table.c`
    collection described at :ref:`metadata_tables_and_columns`.
    With this collection, ordinary names are accessible like attributes
    (e.g. ``stmt.inserted.some_column``), but special names and
    dictionary method names should be accessed using indexed access,
    such as ``stmt.inserted["column name"]`` or
    ``stmt.inserted["values"]``.  See the docstring for
    :class:`_expression.ColumnCollection` for further examples.

.. seealso::

    :ref:`mysql_insert_on_duplicate_key_update` - example of how
    to use :attr:`_expression.Insert.inserted`
@property
def inserted(self):
    'Provide the "inserted" namespace for an ON DUPLICATE KEY UPDATE statement\n\n        MySQL\'s ON DUPLICATE KEY UPDATE clause allows reference to the row\n        that would be inserted, via a special function called ``VALUES()``.\n        This attribute provides all columns in this row to be referenceable\n        such that they will render within a ``VALUES()`` function inside the\n        ON DUPLICATE KEY UPDATE clause.    The attribute is named ``.inserted``\n        so as not to conflict with the existing\n        :meth:`_expression.Insert.values` method.\n\n        .. tip::  The :attr:`_mysql.Insert.inserted` attribute is an instance\n            of :class:`_expression.ColumnCollection`, which provides an\n            interface the same as that of the :attr:`_schema.Table.c`\n            collection described at :ref:`metadata_tables_and_columns`.\n            With this collection, ordinary names are accessible like attributes\n            (e.g. ``stmt.inserted.some_column``), but special names and\n            dictionary method names should be accessed using indexed access,\n            such as ``stmt.inserted["column name"]`` or\n            ``stmt.inserted["values"]``.  See the docstring for\n            :class:`_expression.ColumnCollection` for further examples.\n\n        .. seealso::\n\n            :ref:`mysql_insert_on_duplicate_key_update` - example of how\n            to use :attr:`_expression.Insert.inserted`\n\n        '
    return self.inserted_alias.columns