Skip to main content

Module external_ids

Module external_ids 

Source
Expand description

The ids other systems give our links, stored as links (issue #149): a UUID of a service, an ObjectId of a document database, a URL, bound to a link of ours and back, so the code that talks to the other system never keeps a table of its own.

The ids of one kind share a scheme, such as uuid. The point named ExternalId is E, the scheme is the link (S: E S) named after it, and a link l bound to the id x has a pair (p: S l) named scheme:x, so a link has one id of a scheme and an id one link. No link of the table but a pair starts at S, so a pair is never a link of the table itself, whatever address l has. The table lives in the data or in a store of its own, as the rules of permissions do; in a store of its own every address it holds but its own is an address of the data.

The C# twin is LinksExternalIds; in JavaScript a RemapLinks reads the links under such ids directly.

Structs§

LinksExternalIds
The ids of one scheme; see the module documentation. Every method takes the store of the table: the data or a store of its own.

Constants§

EXTERNAL_ID_NAME
The name of the point every scheme starts from.