ApplicationBatchHardDeleteBuilder

Configuration object for bulk permanent deletion of app items

The object enables basic configuration of bulk hard deletion. To bulk delete app items with the option to restore them, use ApplicationBatchDeleteBuilder.

Type parameters

Hierarchy

  • ApplicationBatchHardDeleteBuilder

Methods

all

  • all(): Promise<number>

from

  • from(n: number): this
  • The method allows you to skip a specified number of items to be deleted.

    Parameters

    • n: number

    Returns this

size

  • size(n: number): this
  • The method allows you to set a limit on the number of items to be deleted.

    Parameters

    • n: number

    Returns this

sort

  • sort(field: keyof TFull, ascending?: undefined | false | true): this
  • The method allows sorting the items to be deleted.

    To sort the results by multiple parameters, you can call the method several times.

    Parameters

    • field: keyof TFull
    • Optional ascending: undefined | false | true

    Returns this

where

  • where(fc: FilterClosure<TFull>): this
  • where(eql: EqlQuery, params?: EqlParams): this
  • The method allows you to set a filter for the items to be deleted from the collection.

    Parameters

    • fc: FilterClosure<TFull>

    Returns this

  • The method allows you to set a filter for the items to be deleted from the collection.

    Parameters

    • eql: EqlQuery
    • Optional params: EqlParams

    Returns this