@adobe/data - v0.10.30
    Preparing search index...

    Type Alias ArchetypeQueryOptions<C, PK>

    type ArchetypeQueryOptions<C extends object, PK extends string = never> = {
        exclude?: readonly StringKeyof<
            C & RequiredComponents & OptionalComponents,
        >[];
        where?: {
            readonly [K in Extract<PK, StringKeyof<C & OptionalComponents>>]?: (
                C & RequiredComponents & OptionalComponents
            )[K]
        };
    }

    Type Parameters

    • C extends object
    • PK extends string = never
    Index

    Properties

    Properties

    where?: {
        readonly [K in Extract<PK, StringKeyof<C & OptionalComponents>>]?: (
            C & RequiredComponents & OptionalComponents
        )[K]
    }

    Filter to archetypes whose partition component equals the given value. A partition column is const per archetype, so this is decided at archetype granularity (O(archetypes), no row scan). Keyed to the store's partition components only — a non-partition column is not const per archetype, so a value filter on it is not archetype-decidable.