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/mongodb.

Source adapters/mongodb/locks.go:146

@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 replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • StableID

    A deterministic identifier for schema evolution.