Hired Yvonne.
So now it's time to create another MFX in order to delete a martial art object from our database.
So just been here public voit the name of them if it is going to be delayed.
Martial arts object martial arts object from database from database by ID by id and with a pair of practices
here.
And we need to press the idea which is of type integer so ain't it.
So let's open and close this method by using these curly braces.
So the first thing that we need to do here is to get our reference to the school like database rightabout
database so just live hit a school like database and the name is going to be database assignment operator.
And here just typing get rightabout database semicolon.
Now it's time to create an excuse to comment in order to delete a martial art object from the school
like database.
So the stuff in here.
Strange.
This is the type of this valuable the name of this variable is delete.
Martial art is martial art.
Q L comment.
Assignment operator just put two quotes here.
And just typing here.
Delete from and here put space plus.
Now let's refer to our martial arts table and then put another plus operator here.
Let's create a new line and then put two quotes here.
Just type in here and then put a space where space plus and then refer to the tree ID.
So actually the key right the key id key id key id key and then put a plus and then Putu quotes here.
Space is actually equal operator and N plus and the first is ID an argument semicolon.
So here it says delete from martial arts table where Id key the ID key is equal to this ID.
So if the pass the ID of the Marshlack object that you want to delete to the Smurfette it's going gonna
delete that specific martial that object that is related to that specific ID.
OK because because of this stupid comment like it is for a martial arts table where Id key is equal
to ID thats it.
And here again we need to actually refer to our database so database that executes as well and then
we just need to pass this.
This is martial art as you l.com And finally you need to close the database so databased that close.