to use:
first:
add a database and table to test the class : (the news table is attached.)
then :
run some insert query to insert some row to that table (insert function of this class)
then try to delete or edit some row throw this class.
yeah , it works !