About Execute Method Operations
Specify an attribute named operation, in lowercase, to the component’s XML element. The legal values for this attribute are upsert, sync, delete, query, update, insert, updatesync, insertsync, skipnode, skiptree, and none. If the operation is not specified on the root component, then the sync operation is used as the default.
Each child node inherits the operation from the parent if another operation is not explicitly specified. If another operation is explicitly specified, then the following table represents the results of the operation on the current node.
Operation | What Happens to the Current Node | What Happens to Unmatched Children of Current Node |
---|---|---|
upsert |
Update or insert |
Leave alone |
sync |
Update or insert |
Delete |
update |
Update |
Delete |
updatesync |
Update |
Delete |
insert |
Insert |
Leave alone |
insertsync |
Insert |
Delete |
skipnode |
Skip this node |
Leave alone |
skiptree |
Skip the tree |
Not applicable |