method

Store.ReleaseDocumentLock

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

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

Source adapters/postgres/locks.go:69

@param ctx
The ctx value.
@param collectionID
The collectionID value.
@param documentID
The documentID value.
@param ownerCollectionID
The ownerCollectionID value.
@param ownerID
The ownerID value.
@returns
The declared result.

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.