How to delete all records in a database collection

Hello everyone! I have a log with more than 20,000 records, and I would like to purge al the records, but I don’t know how to do this. Also, I need to maintain the collection in order to keep logging new records.

Thank you.

Check here →
https://www.wix.com/corvid/reference/wix-data/truncate

Please note that this function removes all the items in the database…
Please note that this function removes all the items in the database…