method

Store.ClearDevelopmentFieldKinds

ClearDevelopmentFieldKinds atomically clears precisely the confirmed field values in current documents and every snapshot. It refuses immutable history and changes physical scalar column types only after their values are cleared.

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/postgres/development_field_kind.go:61

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • Manifest

    An immutable versioned schema contract.