TruncateModel
Tags
Table of Contents
Methods
- truncate() : mixed
- Truncate the collection and remove all documents.
Methods
truncate()
Truncate the collection and remove all documents.
public
truncate([array<string|int, mixed> $init = [] ]) : mixed
Parameters
- $init : array<string|int, mixed> = []