Skip to main content

RESOURCES

Static RESOURCES 

Source
pub static RESOURCES: LazyLock<SchemaRef>
Expand description

RESOURCES table — one row per distinct resource in the block.

Tiny: tens of rows against hundreds of thousands in the root table. It exists for key, the stable cross-block entity identity from crate::identity, which is the join key correlation is built on. id is block-local and meaningless outside the block; key is neither.

Note that id and key are not one-to-one. Two resources whose attribute sets differ only in a non-identifying attribute get two ids and one key — which is the entire point.