method

Store.ReleaseDocumentLock

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

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionIDschema.StableIDThe collectionID value.
documentIDstringThe documentID value.
ownerCollectionIDschema.StableIDThe ownerCollectionID value.
ownerIDstringThe ownerID value.

Returns

The declared result.

error

Full signature

func (backend *Store) ReleaseDocumentLock( ctx context.Context, collectionID schema.StableID, documentID string, ownerCollectionID schema.StableID, ownerID string, ) error

Source adapters/postgres/locks.go:69

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.