DisBot
    Preparing search index...

    Type Alias DynamicModelExtensionFluentApi<TypeMap, M, P, Null>

    DynamicModelExtensionFluentApi: {
        [K in keyof TypeMap["model"][M]["payload"]["objects"]]: <A>(
            args?: Exact<
                A,
                Path<TypeMap["model"][M]["operations"][P]["args"]["select"], [K]>,
            >,
        ) => PrismaPromise<
            | Path<
                DynamicModelExtensionFnResultBase<
                    TypeMap,
                    M,
                    { select: { [P in K]: A } },
                    P,
                >,
                [K],
            >
            | Null,
        > & DynamicModelExtensionFluentApi<
            TypeMap,
            ((...)[(...)]["payload"]["objects"][K] & {})["name"],
            P,
            Null | Select<(...)[(...)][M]["payload"]["objects"][K], null>,
        >
    }

    Type Parameters

    • TypeMap extends TypeMapDef
    • M extends PropertyKey
    • P extends PropertyKey
    • Null