Construct a MySQL/MariaDB-specific variant :class:`_mysql.Insert` construct. .. container:: inherited_member The :func:`sqlalchemy.dialects.mysql.insert` function creates a :class:`sqlalchemy.dialects.mysql.Insert`. This class is based on the dialect-agnostic :clas
(table: _DMLTableArgument)
| 32 | |
| 33 | |
| 34 | def insert(table: _DMLTableArgument) -> Insert: |
| 35 | """Construct a MySQL/MariaDB-specific variant :class:`_mysql.Insert` |
| 36 | construct. |
| 37 | |
| 38 | .. container:: inherited_member |
| 39 | |
| 40 | The :func:`sqlalchemy.dialects.mysql.insert` function creates |
| 41 | a :class:`sqlalchemy.dialects.mysql.Insert`. This class is based |
| 42 | on the dialect-agnostic :class:`_sql.Insert` construct which may |
| 43 | be constructed using the :func:`_sql.insert` function in |
| 44 | SQLAlchemy Core. |
| 45 | |
| 46 | The :class:`_mysql.Insert` construct includes additional methods |
| 47 | :meth:`_mysql.Insert.on_duplicate_key_update`. |
| 48 | |
| 49 | """ |
| 50 | return Insert(table) |
| 51 | |
| 52 | |
| 53 | class Insert(StandardInsert): |