I want to use CAML query to delete elements from a SharePoint list.
Right now it deletes element if they have a specific text in their title:
camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name=\'Title\'/>' +
'<Value Type=\'Text\'>'+statID+'</Value></Eq></Where></Query></View>');
What does one have to add to the camlQuery above when it should delete elements if they have a specific text in a column playerID
? (So, the element should have a specific title and a specific playerID)
I tried different things, but can't seem to figure it out. Can someone help me?