clear<>

Clear a collection

Example

Remove all tasks in collection.

Important: if tasks is by value, all values will be hard deleted from storage.

yield entityAPI.clearTasks();