method

Store.ClearDevelopmentFieldKinds

ClearDevelopmentFieldKinds clears only the confirmed changed fields, in working values, published heads, and snapshots, and adopts the resulting development schema in one transaction. Immutable migration history is never bypassed.

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/sqlite/development_field_kind.go:55

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • Manifest

    An immutable versioned schema contract.