Documentation
WHERE : Mass manipulation
usage
<QUERY>
<update_delete_kill>
<ELEMENT>
<WHERE>
...
</WHERE>
</ELEMENT >
</update_delete_kill>
/QUERY>
retourne
<MESSAGE
Update, delete, or kill the result of a search
exemples
This query update the language of all American citizens to english:
<QUERY>
<UPDATE>
<CONTACT>
<INFO>
<LANGUAGEID>eng</LANGUAGEID>
</INFO>
<WHERE>
<INFO>
<COUNTRYID>usa</COUNTRYID>
</INFO>
</WHERE>
</CONTACT>
</UPDATE>
</QUERY>
To add categories with the contacts belonging already to existing categories:
<UPDATE name="searchContact">
<CONTACT>
<WHERE>
<CATEGORIES>
<CATEGORY name="Metal" />
</CATEGORIES>
</WHERE>
<CATEGORIES operation="append">
<CATEGORY name="Rock" />
</CATEGORIES>
</CONTACT>
</UPDATE>