insert into article(title, content)
values (#{title}, #{content})
insert into article(title, content)
values
(#{entity.title}, #{entity.content})
insert into article(title, content)
values
(#{entity.title}, #{entity.content})
on duplicate key update
title = values(title),
content = values(content)
update article
title = #{title},
content = #{content},
where id = #{id}
delete
from article
where id = #{id}