Comments - How to Upsert on Application-Time Periods?

3 years, 2 months ago Daniel Black

Gonen, thanks for your question.

I'm a bit confused as to what an INSERT ON DUPLICATE KEY UPDATE is meaning in your question without any primary or unique keys on Employees. Assuming id is a primary key I think I see a requirement.

Currently this syntax isn't supported. Please create a task on https://jira.mariadb.org.

 
3 years, 2 months ago goniaks Shemesh

Yes, you are assuming right. Id should be the primary key. Thanks for the answer.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.