How to delete all data in database?

How to delete all data in database? must key (id)=(1) start
Is there any relevant Commands?

Like this function of Heroku

Reset Database
Reset the database to its originally-provisioned state, deleting all data inside it.

please help thanks