/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `RowValueRange` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model RowValueRange * */ export type RowValueRangeModel = runtime.Types.Result.DefaultSelection export type AggregateRowValueRange = { _count: RowValueRangeCountAggregateOutputType | null _avg: RowValueRangeAvgAggregateOutputType | null _sum: RowValueRangeSumAggregateOutputType | null _min: RowValueRangeMinAggregateOutputType | null _max: RowValueRangeMaxAggregateOutputType | null } export type RowValueRangeAvgAggregateOutputType = { numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null } export type RowValueRangeSumAggregateOutputType = { numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null } export type RowValueRangeMinAggregateOutputType = { rowValueId: string | null numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null dateMin: Date | null dateMax: Date | null } export type RowValueRangeMaxAggregateOutputType = { rowValueId: string | null numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null dateMin: Date | null dateMax: Date | null } export type RowValueRangeCountAggregateOutputType = { rowValueId: number numberMin: number numberMax: number dateMin: number dateMax: number _all: number } export type RowValueRangeAvgAggregateInputType = { numberMin?: true numberMax?: true } export type RowValueRangeSumAggregateInputType = { numberMin?: true numberMax?: true } export type RowValueRangeMinAggregateInputType = { rowValueId?: true numberMin?: true numberMax?: true dateMin?: true dateMax?: true } export type RowValueRangeMaxAggregateInputType = { rowValueId?: true numberMin?: true numberMax?: true dateMin?: true dateMax?: true } export type RowValueRangeCountAggregateInputType = { rowValueId?: true numberMin?: true numberMax?: true dateMin?: true dateMax?: true _all?: true } export type RowValueRangeAggregateArgs = { /** * Filter which RowValueRange to aggregate. */ where?: Prisma.RowValueRangeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowValueRanges to fetch. */ orderBy?: Prisma.RowValueRangeOrderByWithRelationInput | Prisma.RowValueRangeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.RowValueRangeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowValueRanges from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RowValueRanges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RowValueRanges **/ _count?: true | RowValueRangeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: RowValueRangeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: RowValueRangeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RowValueRangeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RowValueRangeMaxAggregateInputType } export type GetRowValueRangeAggregateType = { [P in keyof T & keyof AggregateRowValueRange]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type RowValueRangeGroupByArgs = { where?: Prisma.RowValueRangeWhereInput orderBy?: Prisma.RowValueRangeOrderByWithAggregationInput | Prisma.RowValueRangeOrderByWithAggregationInput[] by: Prisma.RowValueRangeScalarFieldEnum[] | Prisma.RowValueRangeScalarFieldEnum having?: Prisma.RowValueRangeScalarWhereWithAggregatesInput take?: number skip?: number _count?: RowValueRangeCountAggregateInputType | true _avg?: RowValueRangeAvgAggregateInputType _sum?: RowValueRangeSumAggregateInputType _min?: RowValueRangeMinAggregateInputType _max?: RowValueRangeMaxAggregateInputType } export type RowValueRangeGroupByOutputType = { rowValueId: string numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null dateMin: Date | null dateMax: Date | null _count: RowValueRangeCountAggregateOutputType | null _avg: RowValueRangeAvgAggregateOutputType | null _sum: RowValueRangeSumAggregateOutputType | null _min: RowValueRangeMinAggregateOutputType | null _max: RowValueRangeMaxAggregateOutputType | null } export type GetRowValueRangeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof RowValueRangeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type RowValueRangeWhereInput = { AND?: Prisma.RowValueRangeWhereInput | Prisma.RowValueRangeWhereInput[] OR?: Prisma.RowValueRangeWhereInput[] NOT?: Prisma.RowValueRangeWhereInput | Prisma.RowValueRangeWhereInput[] rowValueId?: Prisma.StringFilter<"RowValueRange"> | string numberMin?: Prisma.DecimalNullableFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.DecimalNullableFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.DateTimeNullableFilter<"RowValueRange"> | Date | string | null dateMax?: Prisma.DateTimeNullableFilter<"RowValueRange"> | Date | string | null rowValue?: Prisma.XOR } export type RowValueRangeOrderByWithRelationInput = { rowValueId?: Prisma.SortOrder numberMin?: Prisma.SortOrderInput | Prisma.SortOrder numberMax?: Prisma.SortOrderInput | Prisma.SortOrder dateMin?: Prisma.SortOrderInput | Prisma.SortOrder dateMax?: Prisma.SortOrderInput | Prisma.SortOrder rowValue?: Prisma.RowValueOrderByWithRelationInput } export type RowValueRangeWhereUniqueInput = Prisma.AtLeast<{ rowValueId?: string AND?: Prisma.RowValueRangeWhereInput | Prisma.RowValueRangeWhereInput[] OR?: Prisma.RowValueRangeWhereInput[] NOT?: Prisma.RowValueRangeWhereInput | Prisma.RowValueRangeWhereInput[] numberMin?: Prisma.DecimalNullableFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.DecimalNullableFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.DateTimeNullableFilter<"RowValueRange"> | Date | string | null dateMax?: Prisma.DateTimeNullableFilter<"RowValueRange"> | Date | string | null rowValue?: Prisma.XOR }, "rowValueId"> export type RowValueRangeOrderByWithAggregationInput = { rowValueId?: Prisma.SortOrder numberMin?: Prisma.SortOrderInput | Prisma.SortOrder numberMax?: Prisma.SortOrderInput | Prisma.SortOrder dateMin?: Prisma.SortOrderInput | Prisma.SortOrder dateMax?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.RowValueRangeCountOrderByAggregateInput _avg?: Prisma.RowValueRangeAvgOrderByAggregateInput _max?: Prisma.RowValueRangeMaxOrderByAggregateInput _min?: Prisma.RowValueRangeMinOrderByAggregateInput _sum?: Prisma.RowValueRangeSumOrderByAggregateInput } export type RowValueRangeScalarWhereWithAggregatesInput = { AND?: Prisma.RowValueRangeScalarWhereWithAggregatesInput | Prisma.RowValueRangeScalarWhereWithAggregatesInput[] OR?: Prisma.RowValueRangeScalarWhereWithAggregatesInput[] NOT?: Prisma.RowValueRangeScalarWhereWithAggregatesInput | Prisma.RowValueRangeScalarWhereWithAggregatesInput[] rowValueId?: Prisma.StringWithAggregatesFilter<"RowValueRange"> | string numberMin?: Prisma.DecimalNullableWithAggregatesFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.DecimalNullableWithAggregatesFilter<"RowValueRange"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.DateTimeNullableWithAggregatesFilter<"RowValueRange"> | Date | string | null dateMax?: Prisma.DateTimeNullableWithAggregatesFilter<"RowValueRange"> | Date | string | null } export type RowValueRangeCreateInput = { numberMin?: runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Date | string | null dateMax?: Date | string | null rowValue: Prisma.RowValueCreateNestedOneWithoutRangeInput } export type RowValueRangeUncheckedCreateInput = { rowValueId: string numberMin?: runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Date | string | null dateMax?: Date | string | null } export type RowValueRangeUpdateInput = { numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null rowValue?: Prisma.RowValueUpdateOneRequiredWithoutRangeNestedInput } export type RowValueRangeUncheckedUpdateInput = { rowValueId?: Prisma.StringFieldUpdateOperationsInput | string numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type RowValueRangeCreateManyInput = { rowValueId: string numberMin?: runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Date | string | null dateMax?: Date | string | null } export type RowValueRangeUpdateManyMutationInput = { numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type RowValueRangeUncheckedUpdateManyInput = { rowValueId?: Prisma.StringFieldUpdateOperationsInput | string numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type RowValueRangeNullableScalarRelationFilter = { is?: Prisma.RowValueRangeWhereInput | null isNot?: Prisma.RowValueRangeWhereInput | null } export type RowValueRangeCountOrderByAggregateInput = { rowValueId?: Prisma.SortOrder numberMin?: Prisma.SortOrder numberMax?: Prisma.SortOrder dateMin?: Prisma.SortOrder dateMax?: Prisma.SortOrder } export type RowValueRangeAvgOrderByAggregateInput = { numberMin?: Prisma.SortOrder numberMax?: Prisma.SortOrder } export type RowValueRangeMaxOrderByAggregateInput = { rowValueId?: Prisma.SortOrder numberMin?: Prisma.SortOrder numberMax?: Prisma.SortOrder dateMin?: Prisma.SortOrder dateMax?: Prisma.SortOrder } export type RowValueRangeMinOrderByAggregateInput = { rowValueId?: Prisma.SortOrder numberMin?: Prisma.SortOrder numberMax?: Prisma.SortOrder dateMin?: Prisma.SortOrder dateMax?: Prisma.SortOrder } export type RowValueRangeSumOrderByAggregateInput = { numberMin?: Prisma.SortOrder numberMax?: Prisma.SortOrder } export type RowValueRangeCreateNestedOneWithoutRowValueInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RowValueRangeCreateOrConnectWithoutRowValueInput connect?: Prisma.RowValueRangeWhereUniqueInput } export type RowValueRangeUncheckedCreateNestedOneWithoutRowValueInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RowValueRangeCreateOrConnectWithoutRowValueInput connect?: Prisma.RowValueRangeWhereUniqueInput } export type RowValueRangeUpdateOneWithoutRowValueNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RowValueRangeCreateOrConnectWithoutRowValueInput upsert?: Prisma.RowValueRangeUpsertWithoutRowValueInput disconnect?: Prisma.RowValueRangeWhereInput | boolean delete?: Prisma.RowValueRangeWhereInput | boolean connect?: Prisma.RowValueRangeWhereUniqueInput update?: Prisma.XOR, Prisma.RowValueRangeUncheckedUpdateWithoutRowValueInput> } export type RowValueRangeUncheckedUpdateOneWithoutRowValueNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RowValueRangeCreateOrConnectWithoutRowValueInput upsert?: Prisma.RowValueRangeUpsertWithoutRowValueInput disconnect?: Prisma.RowValueRangeWhereInput | boolean delete?: Prisma.RowValueRangeWhereInput | boolean connect?: Prisma.RowValueRangeWhereUniqueInput update?: Prisma.XOR, Prisma.RowValueRangeUncheckedUpdateWithoutRowValueInput> } export type RowValueRangeCreateWithoutRowValueInput = { numberMin?: runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Date | string | null dateMax?: Date | string | null } export type RowValueRangeUncheckedCreateWithoutRowValueInput = { numberMin?: runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Date | string | null dateMax?: Date | string | null } export type RowValueRangeCreateOrConnectWithoutRowValueInput = { where: Prisma.RowValueRangeWhereUniqueInput create: Prisma.XOR } export type RowValueRangeUpsertWithoutRowValueInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.RowValueRangeWhereInput } export type RowValueRangeUpdateToOneWithWhereWithoutRowValueInput = { where?: Prisma.RowValueRangeWhereInput data: Prisma.XOR } export type RowValueRangeUpdateWithoutRowValueInput = { numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type RowValueRangeUncheckedUpdateWithoutRowValueInput = { numberMin?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null numberMax?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null dateMin?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null dateMax?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type RowValueRangeSelect = runtime.Types.Extensions.GetSelect<{ rowValueId?: boolean numberMin?: boolean numberMax?: boolean dateMin?: boolean dateMax?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowValueRange"]> export type RowValueRangeSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ rowValueId?: boolean numberMin?: boolean numberMax?: boolean dateMin?: boolean dateMax?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowValueRange"]> export type RowValueRangeSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ rowValueId?: boolean numberMin?: boolean numberMax?: boolean dateMin?: boolean dateMax?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowValueRange"]> export type RowValueRangeSelectScalar = { rowValueId?: boolean numberMin?: boolean numberMax?: boolean dateMin?: boolean dateMax?: boolean } export type RowValueRangeOmit = runtime.Types.Extensions.GetOmit<"rowValueId" | "numberMin" | "numberMax" | "dateMin" | "dateMax", ExtArgs["result"]["rowValueRange"]> export type RowValueRangeInclude = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type RowValueRangeIncludeCreateManyAndReturn = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type RowValueRangeIncludeUpdateManyAndReturn = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type $RowValueRangePayload = { name: "RowValueRange" objects: { rowValue: Prisma.$RowValuePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ rowValueId: string numberMin: runtime.Decimal | null numberMax: runtime.Decimal | null dateMin: Date | null dateMax: Date | null }, ExtArgs["result"]["rowValueRange"]> composites: {} } export type RowValueRangeGetPayload = runtime.Types.Result.GetResult export type RowValueRangeCountArgs = Omit & { select?: RowValueRangeCountAggregateInputType | true } export interface RowValueRangeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RowValueRange'], meta: { name: 'RowValueRange' } } /** * Find zero or one RowValueRange that matches the filter. * @param {RowValueRangeFindUniqueArgs} args - Arguments to find a RowValueRange * @example * // Get one RowValueRange * const rowValueRange = await prisma.rowValueRange.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RowValueRange that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RowValueRangeFindUniqueOrThrowArgs} args - Arguments to find a RowValueRange * @example * // Get one RowValueRange * const rowValueRange = await prisma.rowValueRange.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RowValueRange that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeFindFirstArgs} args - Arguments to find a RowValueRange * @example * // Get one RowValueRange * const rowValueRange = await prisma.rowValueRange.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RowValueRange that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeFindFirstOrThrowArgs} args - Arguments to find a RowValueRange * @example * // Get one RowValueRange * const rowValueRange = await prisma.rowValueRange.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RowValueRanges that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RowValueRanges * const rowValueRanges = await prisma.rowValueRange.findMany() * * // Get first 10 RowValueRanges * const rowValueRanges = await prisma.rowValueRange.findMany({ take: 10 }) * * // Only select the `rowValueId` * const rowValueRangeWithRowValueIdOnly = await prisma.rowValueRange.findMany({ select: { rowValueId: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a RowValueRange. * @param {RowValueRangeCreateArgs} args - Arguments to create a RowValueRange. * @example * // Create one RowValueRange * const RowValueRange = await prisma.rowValueRange.create({ * data: { * // ... data to create a RowValueRange * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RowValueRanges. * @param {RowValueRangeCreateManyArgs} args - Arguments to create many RowValueRanges. * @example * // Create many RowValueRanges * const rowValueRange = await prisma.rowValueRange.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many RowValueRanges and returns the data saved in the database. * @param {RowValueRangeCreateManyAndReturnArgs} args - Arguments to create many RowValueRanges. * @example * // Create many RowValueRanges * const rowValueRange = await prisma.rowValueRange.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RowValueRanges and only return the `rowValueId` * const rowValueRangeWithRowValueIdOnly = await prisma.rowValueRange.createManyAndReturn({ * select: { rowValueId: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a RowValueRange. * @param {RowValueRangeDeleteArgs} args - Arguments to delete one RowValueRange. * @example * // Delete one RowValueRange * const RowValueRange = await prisma.rowValueRange.delete({ * where: { * // ... filter to delete one RowValueRange * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RowValueRange. * @param {RowValueRangeUpdateArgs} args - Arguments to update one RowValueRange. * @example * // Update one RowValueRange * const rowValueRange = await prisma.rowValueRange.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RowValueRanges. * @param {RowValueRangeDeleteManyArgs} args - Arguments to filter RowValueRanges to delete. * @example * // Delete a few RowValueRanges * const { count } = await prisma.rowValueRange.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RowValueRanges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RowValueRanges * const rowValueRange = await prisma.rowValueRange.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RowValueRanges and returns the data updated in the database. * @param {RowValueRangeUpdateManyAndReturnArgs} args - Arguments to update many RowValueRanges. * @example * // Update many RowValueRanges * const rowValueRange = await prisma.rowValueRange.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RowValueRanges and only return the `rowValueId` * const rowValueRangeWithRowValueIdOnly = await prisma.rowValueRange.updateManyAndReturn({ * select: { rowValueId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one RowValueRange. * @param {RowValueRangeUpsertArgs} args - Arguments to update or create a RowValueRange. * @example * // Update or create a RowValueRange * const rowValueRange = await prisma.rowValueRange.upsert({ * create: { * // ... data to create a RowValueRange * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RowValueRange we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__RowValueRangeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RowValueRanges. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeCountArgs} args - Arguments to filter RowValueRanges to count. * @example * // Count the number of RowValueRanges * const count = await prisma.rowValueRange.count({ * where: { * // ... the filter for the RowValueRanges we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a RowValueRange. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by RowValueRange. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowValueRangeGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends RowValueRangeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: RowValueRangeGroupByArgs['orderBy'] } : { orderBy?: RowValueRangeGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetRowValueRangeGroupByPayload : Prisma.PrismaPromise /** * Fields of the RowValueRange model */ readonly fields: RowValueRangeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RowValueRange. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__RowValueRangeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" rowValue = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowValueClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the RowValueRange model */ export interface RowValueRangeFieldRefs { readonly rowValueId: Prisma.FieldRef<"RowValueRange", 'String'> readonly numberMin: Prisma.FieldRef<"RowValueRange", 'Decimal'> readonly numberMax: Prisma.FieldRef<"RowValueRange", 'Decimal'> readonly dateMin: Prisma.FieldRef<"RowValueRange", 'DateTime'> readonly dateMax: Prisma.FieldRef<"RowValueRange", 'DateTime'> } // Custom InputTypes /** * RowValueRange findUnique */ export type RowValueRangeFindUniqueArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter, which RowValueRange to fetch. */ where: Prisma.RowValueRangeWhereUniqueInput } /** * RowValueRange findUniqueOrThrow */ export type RowValueRangeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter, which RowValueRange to fetch. */ where: Prisma.RowValueRangeWhereUniqueInput } /** * RowValueRange findFirst */ export type RowValueRangeFindFirstArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter, which RowValueRange to fetch. */ where?: Prisma.RowValueRangeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowValueRanges to fetch. */ orderBy?: Prisma.RowValueRangeOrderByWithRelationInput | Prisma.RowValueRangeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RowValueRanges. */ cursor?: Prisma.RowValueRangeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowValueRanges from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RowValueRanges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowValueRanges. */ distinct?: Prisma.RowValueRangeScalarFieldEnum | Prisma.RowValueRangeScalarFieldEnum[] } /** * RowValueRange findFirstOrThrow */ export type RowValueRangeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter, which RowValueRange to fetch. */ where?: Prisma.RowValueRangeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowValueRanges to fetch. */ orderBy?: Prisma.RowValueRangeOrderByWithRelationInput | Prisma.RowValueRangeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RowValueRanges. */ cursor?: Prisma.RowValueRangeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowValueRanges from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RowValueRanges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowValueRanges. */ distinct?: Prisma.RowValueRangeScalarFieldEnum | Prisma.RowValueRangeScalarFieldEnum[] } /** * RowValueRange findMany */ export type RowValueRangeFindManyArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter, which RowValueRanges to fetch. */ where?: Prisma.RowValueRangeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowValueRanges to fetch. */ orderBy?: Prisma.RowValueRangeOrderByWithRelationInput | Prisma.RowValueRangeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RowValueRanges. */ cursor?: Prisma.RowValueRangeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowValueRanges from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RowValueRanges. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowValueRanges. */ distinct?: Prisma.RowValueRangeScalarFieldEnum | Prisma.RowValueRangeScalarFieldEnum[] } /** * RowValueRange create */ export type RowValueRangeCreateArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * The data needed to create a RowValueRange. */ data: Prisma.XOR } /** * RowValueRange createMany */ export type RowValueRangeCreateManyArgs = { /** * The data used to create many RowValueRanges. */ data: Prisma.RowValueRangeCreateManyInput | Prisma.RowValueRangeCreateManyInput[] skipDuplicates?: boolean } /** * RowValueRange createManyAndReturn */ export type RowValueRangeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelectCreateManyAndReturn | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * The data used to create many RowValueRanges. */ data: Prisma.RowValueRangeCreateManyInput | Prisma.RowValueRangeCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeIncludeCreateManyAndReturn | null } /** * RowValueRange update */ export type RowValueRangeUpdateArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * The data needed to update a RowValueRange. */ data: Prisma.XOR /** * Choose, which RowValueRange to update. */ where: Prisma.RowValueRangeWhereUniqueInput } /** * RowValueRange updateMany */ export type RowValueRangeUpdateManyArgs = { /** * The data used to update RowValueRanges. */ data: Prisma.XOR /** * Filter which RowValueRanges to update */ where?: Prisma.RowValueRangeWhereInput /** * Limit how many RowValueRanges to update. */ limit?: number } /** * RowValueRange updateManyAndReturn */ export type RowValueRangeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelectUpdateManyAndReturn | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * The data used to update RowValueRanges. */ data: Prisma.XOR /** * Filter which RowValueRanges to update */ where?: Prisma.RowValueRangeWhereInput /** * Limit how many RowValueRanges to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeIncludeUpdateManyAndReturn | null } /** * RowValueRange upsert */ export type RowValueRangeUpsertArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * The filter to search for the RowValueRange to update in case it exists. */ where: Prisma.RowValueRangeWhereUniqueInput /** * In case the RowValueRange found by the `where` argument doesn't exist, create a new RowValueRange with this data. */ create: Prisma.XOR /** * In case the RowValueRange was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * RowValueRange delete */ export type RowValueRangeDeleteArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null /** * Filter which RowValueRange to delete. */ where: Prisma.RowValueRangeWhereUniqueInput } /** * RowValueRange deleteMany */ export type RowValueRangeDeleteManyArgs = { /** * Filter which RowValueRanges to delete */ where?: Prisma.RowValueRangeWhereInput /** * Limit how many RowValueRanges to delete. */ limit?: number } /** * RowValueRange without action */ export type RowValueRangeDefaultArgs = { /** * Select specific fields to fetch from the RowValueRange */ select?: Prisma.RowValueRangeSelect | null /** * Omit specific fields from the RowValueRange */ omit?: Prisma.RowValueRangeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowValueRangeInclude | null }