entityId
entityId(
type,keyAttribute,fallbackLocalId):string
Defined in: libs/runtime/src/canonical.ts:35
The identity a change log records an entity under.
Keyless things have no cross-node identity and are marked local: so replication can refuse
them rather than silently inventing an equivalence. See isReplicable.
Parameters
Section titled “Parameters”string
keyAttribute
Section titled “keyAttribute”CanonicalAttribute | undefined
fallbackLocalId
Section titled “fallbackLocalId”number
Returns
Section titled “Returns”string
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.