Skip to content

Mysql ON DUPLICATE KEY UPDATE #32559

Answered by richard67
Flowman asked this question in General
Mar 2, 2021 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hello @Flowman ,

thank you for your feature request.

The good news is that ON DUPLICATE KEY UPDATE is supported by MySQL at least since version 5.6, and it is also supported by MariaDB:

The right way to do it will indeed be to extend the database drivers. For Joomla 4 it would need to be done for the MySQLi and the MySQL (PDO) drivers.

For Joomla 3 it would need to do it also for the native mysql driver, but as we have to support lower MySQL versions than 5.6 with Joomla 3, I think we can do it only for Joomla 4.

The database drivers are maintained in another GitHub…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@richard67
Comment options

@richard67
Comment options

@Flowman
Comment options

@richard67
Comment options

@richard67
Comment options

Answer selected by Flowman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants