I would like to create a button in html that truncates 2 tables in pgadmin. I've tried the first proposed solution from there: MySql. After HTML button is clicked - TRUNCATE database table
but doesn't work.
Do you have in mind something more efficient?
Thank you in advance!