insert into context(context_id, context_name, parent_id)
values
(#{item.contextId}, #{item.contextName}, #{parentId})
insert into context(context_id, context_name, parent_id)
values
(#{context.contextId}, #{context.contextName}, #{parentId})
update context
context_name = #{context.contextName},
where context_id = #{context.contextId}
DELETE
FROM context
WHERE context_id = #{contextId}
DELETE
FROM context
WHERE parent_id = #{parentId}