method

App.ReleaseDocumentLock

Release only the exact authenticated identity’s document lease.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionstringThe collection value.
documentIDstringThe documentID value.
identity*AuthIdentityThe identity value.

Returns

The declared result.

error

Full signature

func (application *App) ReleaseDocumentLock( ctx context.Context, collection, documentID string, identity *AuthIdentity, ) error

Source core/locks.go:83

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.