Type alias GetLeanResultType<RawDocType, ResultType, QueryOp>

GetLeanResultType<RawDocType, ResultType, QueryOp>: QueryOp extends QueryOpThatReturnsDocument
    ? ResultType extends any[]
        ? Require_id<FlattenMaps<RawDocType>>[]
        : Require_id<FlattenMaps<RawDocType>>
    : ResultType

Type Parameters

  • RawDocType

  • ResultType

  • QueryOp

Generated using TypeDoc