method

App.ReleaseDocumentLock

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

Release only the exact authenticated identity’s document lease.

Source core/locks.go:83

@param ctx
The ctx value.
@param collection
The collection value.
@param documentID
The documentID value.
@param identity
The identity value.
@returns
The declared result.

Related types

  • App

    A resolved application bound to operation services.

  • AuthIdentity

    An exact authenticated collection and actor document.