Libraries
    Preparing search index...

    Type Alias SelectProjection<R>

    SelectProjection: { [K in keyof R]: InferType<DescriptorPropertySchema<R[K]>> }

    Result row type produced by a SelectProjection selector.

    Each entry's value is the InferType of the property schema the descriptor points at, so .select(t => ({ id: t.id, n: t.title })) yields { id: number; n: string }.

    Type Parameters

    • R extends Record<string, unknown>