method

LocalAPI.BulkDelete

func (local *LocalAPI) BulkDelete( ctx context.Context, collection string, ids []string, actor *store.Document, localeOptions ...LocaleOptions, ) ([]store.Document, error)

Delete or trash an explicit bounded set of documents atomically.

Source core/local.go:687

@param ctx
The ctx value.
@param collection
The collection value.
@param ids
The ids value.
@param actor
The actor value.
@param localeOptions
The localeOptions value.
@returns
The declared result.

Related types

  • LocalAPI

    In-process content operations that share the REST authorization and lifecycle pipeline.

  • Document

    A stored document with status and version metadata.

  • LocaleOptions

    Locale selection for one single-document Local API operation.