Delete all records from a collection in database

Is their a way to clear (delete All) in javascript, or via a database service, all records of a collection?

regards
1 person has
this question
+1
This topic is no longer open for comments or replies.