minca
ApiCoreFunctions

Function: lineKey()

function lineKey(root, collection): Promise<string>;

Defined in: packages/core/src/records/key.ts:81

The key of an account's line in a collection (spec/drafts/constitution-grants-contracts.md §3): an owned key, so only that account can write a version in it. The collection is hashed, so a line has a key whatever the collection's name.

Parameters

ParameterType
rootstring
collectionstring

Returns

Promise<string>

On this page