The SQL that differs between databases. Implement it to support another database.
Requires MySQL 8.0.19 or later for the row alias syntax.
Upsert into table(id, data, version) with two parameters: id and data. Bumps version on conflict.
table(id, data, version)
version