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

    Type Alias RoleUpsertArgs<ExtArgs>

    Role upsert

    type RoleUpsertArgs<
        ExtArgs extends
            runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
    > = {
        create: Prisma.XOR<RoleCreateInput, RoleUncheckedCreateInput>;
        include?: RoleInclude<ExtArgs> | null;
        omit?: RoleOmit<ExtArgs> | null;
        select?: RoleSelect<ExtArgs> | null;
        update: Prisma.XOR<RoleUpdateInput, RoleUncheckedUpdateInput>;
        where: RoleWhereUniqueInput;
    }

    Type Parameters

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

    Properties

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

    include?: RoleInclude<ExtArgs> | null

    Choose, which related nodes to fetch as well

    omit?: RoleOmit<ExtArgs> | null

    Omit specific fields from the Role

    select?: RoleSelect<ExtArgs> | null

    Select specific fields to fetch from the Role

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

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