@robert-brightline/auth-db - v0.0.21
    Preparing search index...

    Type Alias ResourceUpsertArgs<ExtArgs>

    Resource upsert

    type ResourceUpsertArgs<
        ExtArgs extends
            runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
    > = {
        create: Prisma.XOR<ResourceCreateInput, ResourceUncheckedCreateInput>;
        include?: ResourceInclude<ExtArgs> | null;
        omit?: ResourceOmit<ExtArgs> | null;
        select?: ResourceSelect<ExtArgs> | null;
        update: Prisma.XOR<ResourceUpdateInput, ResourceUncheckedUpdateInput>;
        where: ResourceWhereUniqueInput;
    }

    Type Parameters

    • ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
    Index

    Properties

    In case the Resource found by the where argument doesn't exist, create a new Resource with this data.

    include?: ResourceInclude<ExtArgs> | null

    Choose, which related nodes to fetch as well

    omit?: ResourceOmit<ExtArgs> | null

    Omit specific fields from the Resource

    select?: ResourceSelect<ExtArgs> | null

    Select specific fields to fetch from the Resource

    In case the Resource was found with the provided where argument, update it with this data.

    The filter to search for the Resource to update in case it exists.