Type Alias DeleteManyOptions

DeleteManyOptions: { filter?: object; ids?: RecordId[]; namespace?: string }

Options for deleting multiple records from the index. Either ids or filter must be provided, but not both.

Type declaration

  • Optionalfilter?: object

    A metadata filter expression to determine which records to delete. Mutually exclusive with ids.

  • Optionalids?: RecordId[]

    A list of record ids to delete from the index. Mutually exclusive with filter.

  • Optionalnamespace?: string

    The namespace to delete from. If not specified, uses the namespace configured on the Index.