How to do a bulk delete
ich have a app that matches two users. Then they can chat/exchange messages. These messages are stores in a special table called "Messages".
Now when the day comes that a user deletes the match, I want to delete the messages as well to prevent any anomalies. How can I bulk-delete all messages associated to the two users?
That is what the table looks like:
I do have the ID's/Objects of the two users at the time I want to delete the messages.
I want to execute it on the ServerCode using Java a my language-of-choice. Would I be possible from the Android client as well?