dyna-record
    Preparing search index...

    Type Alias IndexKeyConditions<T>

    IndexKeyConditions: {
        [K in Exclude<keyof T, FunctionFields<T>>]?: KeyConditions
    }

    Key conditions when querying on an index. Can be any attribute on the entity but must be the keys of the given index.

    Function fields are excluded: beyond being meaningless as key conditions, their presence would let plain strings satisfy this all-optional type through shared built-in method names (EX: String.prototype.search), silently routing entity-id queries into the index overload.

    Type Parameters

    • T