method

Store.DeletePreference

Public method Store.DeletePreference from github.com/riducms/ridu/adapters/postgres.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionIDschema.StableIDThe collectionID value.
userIDstringThe userID value.
keystringThe key value.

Returns

The declared result.

error

Full signature

func (backend *Store) DeletePreference( ctx context.Context, collectionID schema.StableID, userID, key string, ) error

Source adapters/postgres/preferences.go:49

Related types

  • Store

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

  • StableID

    A deterministic identifier for schema evolution.