method
Store.FindDocumentLock
func (backend *Store) FindDocumentLock(
ctx context.Context,
collectionID schema.StableID,
documentID string,
now time.Time,
) (store.DocumentLock, error)Public method Store.FindDocumentLock from github.com/riducms/ridu/adapters/postgres.
Related types
StoreA PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.
StableIDA deterministic identifier for schema evolution.
DocumentLockOne expiring exclusive authoring lease.