method

BoundTypedCollection.Delete

Public method BoundTypedCollection.Delete from github.com/riducms/ridu/core.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
idstringThe id value.
optionsTypedMutationOptionsThe options value.

Returns

The declared result.

(Document, error)

Full signature

func (collection BoundTypedCollection[Document, Create, Update, Draft]) Delete( ctx context.Context, id string, options TypedMutationOptions, ) (Document, error)

Source core/typed_local.go:149

Related types

  • BoundTypedCollection

    Typed collection methods for strict writes, incomplete working drafts, publication, reads, and deletion.

  • TypedMutationOptions

    Actor, draft intent, expected revision, locale, and response controls for a generated Go mutation.