method

Store.ClearDevelopmentFieldKinds

ClearDevelopmentFieldKinds clears only the reviewed field values from working documents, published heads, and retained snapshots, with references in one transaction. Immutable applied or incomplete migration history requires the reviewed runner.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
beforeschema.ManifestThe before value.
afterschema.ManifestThe after value.
expected[]fieldchange.ReportThe expected value.

Returns

The declared result.

error

Full signature

func (backend *Store) ClearDevelopmentFieldKinds( ctx context.Context, before, after schema.Manifest, expected []fieldchange.Report, ) error

Source adapters/mongodb/development_field_kind.go:50

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • Manifest

    An immutable versioned schema contract.