WeivData API Reference | ExWeiv Apps
    Preparing search index...

    Function truncate

    • Parameters

      • collectionId: string

        The ID of the collection to remove items from.

      • Optionaloptions: WeivDataOptions

        An object containing options you can use when calling this function.

      Returns Promise<boolean>

      Fulfilled - When the items have been removed. Rejected - The error that caused the rejection.

      Removes all items from a collection.