Type alias TruncateCollectionOptions

TruncateCollectionOptions: {
    compact?: boolean;
    waitForSync?: boolean;
}

Options for truncating collections.

Type declaration

  • Optional compact?: boolean

    Whether the collection should be compacted after truncation.

  • Optional waitForSync?: boolean

    Whether data should be synchronized to disk before returning from this operation.