Skip to content

SCHEMA_ATTRIBUTE

const SCHEMA_ATTRIBUTE: "arkiv.schema" = "arkiv.schema"

Defined in: src/schema/schema.ts:18

The attribute a named schema tags its entities with: an indexed str holding the schema’s name. Creates write it, and .from(schema) filters on it, so a query through a schema only ever sees entities written through it.