MySQL 8 syntax error INSERT ON DUPLICATE KEY – PHP Versions
So, I have this query : INSERT INTO availabilities (user_id, date, type, available, updated_at, created_at) VALUES (?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?), (?, ?, ?, ?, ?, ?) AS new ON DUPLICATE KEY UPDATE…