/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SampleCustomEntity` 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 SampleCustomEntity * */ export type SampleCustomEntityModel = runtime.Types.Result.DefaultSelection export type AggregateSampleCustomEntity = { _count: SampleCustomEntityCountAggregateOutputType | null _avg: SampleCustomEntityAvgAggregateOutputType | null _sum: SampleCustomEntitySumAggregateOutputType | null _min: SampleCustomEntityMinAggregateOutputType | null _max: SampleCustomEntityMaxAggregateOutputType | null } export type SampleCustomEntityAvgAggregateOutputType = { customNumber: runtime.Decimal | null } export type SampleCustomEntitySumAggregateOutputType = { customNumber: runtime.Decimal | null } export type SampleCustomEntityMinAggregateOutputType = { rowId: string | null customText: string | null customNumber: runtime.Decimal | null customDate: Date | null customBoolean: boolean | null customSelect: string | null } export type SampleCustomEntityMaxAggregateOutputType = { rowId: string | null customText: string | null customNumber: runtime.Decimal | null customDate: Date | null customBoolean: boolean | null customSelect: string | null } export type SampleCustomEntityCountAggregateOutputType = { rowId: number customText: number customNumber: number customDate: number customBoolean: number customSelect: number _all: number } export type SampleCustomEntityAvgAggregateInputType = { customNumber?: true } export type SampleCustomEntitySumAggregateInputType = { customNumber?: true } export type SampleCustomEntityMinAggregateInputType = { rowId?: true customText?: true customNumber?: true customDate?: true customBoolean?: true customSelect?: true } export type SampleCustomEntityMaxAggregateInputType = { rowId?: true customText?: true customNumber?: true customDate?: true customBoolean?: true customSelect?: true } export type SampleCustomEntityCountAggregateInputType = { rowId?: true customText?: true customNumber?: true customDate?: true customBoolean?: true customSelect?: true _all?: true } export type SampleCustomEntityAggregateArgs = { /** * Filter which SampleCustomEntity to aggregate. */ where?: Prisma.SampleCustomEntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SampleCustomEntities to fetch. */ orderBy?: Prisma.SampleCustomEntityOrderByWithRelationInput | Prisma.SampleCustomEntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SampleCustomEntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SampleCustomEntities 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` SampleCustomEntities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SampleCustomEntities **/ _count?: true | SampleCustomEntityCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SampleCustomEntityAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SampleCustomEntitySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SampleCustomEntityMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SampleCustomEntityMaxAggregateInputType } export type GetSampleCustomEntityAggregateType = { [P in keyof T & keyof AggregateSampleCustomEntity]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SampleCustomEntityGroupByArgs = { where?: Prisma.SampleCustomEntityWhereInput orderBy?: Prisma.SampleCustomEntityOrderByWithAggregationInput | Prisma.SampleCustomEntityOrderByWithAggregationInput[] by: Prisma.SampleCustomEntityScalarFieldEnum[] | Prisma.SampleCustomEntityScalarFieldEnum having?: Prisma.SampleCustomEntityScalarWhereWithAggregatesInput take?: number skip?: number _count?: SampleCustomEntityCountAggregateInputType | true _avg?: SampleCustomEntityAvgAggregateInputType _sum?: SampleCustomEntitySumAggregateInputType _min?: SampleCustomEntityMinAggregateInputType _max?: SampleCustomEntityMaxAggregateInputType } export type SampleCustomEntityGroupByOutputType = { rowId: string customText: string customNumber: runtime.Decimal customDate: Date customBoolean: boolean customSelect: string _count: SampleCustomEntityCountAggregateOutputType | null _avg: SampleCustomEntityAvgAggregateOutputType | null _sum: SampleCustomEntitySumAggregateOutputType | null _min: SampleCustomEntityMinAggregateOutputType | null _max: SampleCustomEntityMaxAggregateOutputType | null } export type GetSampleCustomEntityGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SampleCustomEntityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SampleCustomEntityWhereInput = { AND?: Prisma.SampleCustomEntityWhereInput | Prisma.SampleCustomEntityWhereInput[] OR?: Prisma.SampleCustomEntityWhereInput[] NOT?: Prisma.SampleCustomEntityWhereInput | Prisma.SampleCustomEntityWhereInput[] rowId?: Prisma.StringFilter<"SampleCustomEntity"> | string customText?: Prisma.StringFilter<"SampleCustomEntity"> | string customNumber?: Prisma.DecimalFilter<"SampleCustomEntity"> | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFilter<"SampleCustomEntity"> | Date | string customBoolean?: Prisma.BoolFilter<"SampleCustomEntity"> | boolean customSelect?: Prisma.StringFilter<"SampleCustomEntity"> | string row?: Prisma.XOR } export type SampleCustomEntityOrderByWithRelationInput = { rowId?: Prisma.SortOrder customText?: Prisma.SortOrder customNumber?: Prisma.SortOrder customDate?: Prisma.SortOrder customBoolean?: Prisma.SortOrder customSelect?: Prisma.SortOrder row?: Prisma.RowOrderByWithRelationInput } export type SampleCustomEntityWhereUniqueInput = Prisma.AtLeast<{ rowId?: string AND?: Prisma.SampleCustomEntityWhereInput | Prisma.SampleCustomEntityWhereInput[] OR?: Prisma.SampleCustomEntityWhereInput[] NOT?: Prisma.SampleCustomEntityWhereInput | Prisma.SampleCustomEntityWhereInput[] customText?: Prisma.StringFilter<"SampleCustomEntity"> | string customNumber?: Prisma.DecimalFilter<"SampleCustomEntity"> | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFilter<"SampleCustomEntity"> | Date | string customBoolean?: Prisma.BoolFilter<"SampleCustomEntity"> | boolean customSelect?: Prisma.StringFilter<"SampleCustomEntity"> | string row?: Prisma.XOR }, "rowId"> export type SampleCustomEntityOrderByWithAggregationInput = { rowId?: Prisma.SortOrder customText?: Prisma.SortOrder customNumber?: Prisma.SortOrder customDate?: Prisma.SortOrder customBoolean?: Prisma.SortOrder customSelect?: Prisma.SortOrder _count?: Prisma.SampleCustomEntityCountOrderByAggregateInput _avg?: Prisma.SampleCustomEntityAvgOrderByAggregateInput _max?: Prisma.SampleCustomEntityMaxOrderByAggregateInput _min?: Prisma.SampleCustomEntityMinOrderByAggregateInput _sum?: Prisma.SampleCustomEntitySumOrderByAggregateInput } export type SampleCustomEntityScalarWhereWithAggregatesInput = { AND?: Prisma.SampleCustomEntityScalarWhereWithAggregatesInput | Prisma.SampleCustomEntityScalarWhereWithAggregatesInput[] OR?: Prisma.SampleCustomEntityScalarWhereWithAggregatesInput[] NOT?: Prisma.SampleCustomEntityScalarWhereWithAggregatesInput | Prisma.SampleCustomEntityScalarWhereWithAggregatesInput[] rowId?: Prisma.StringWithAggregatesFilter<"SampleCustomEntity"> | string customText?: Prisma.StringWithAggregatesFilter<"SampleCustomEntity"> | string customNumber?: Prisma.DecimalWithAggregatesFilter<"SampleCustomEntity"> | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeWithAggregatesFilter<"SampleCustomEntity"> | Date | string customBoolean?: Prisma.BoolWithAggregatesFilter<"SampleCustomEntity"> | boolean customSelect?: Prisma.StringWithAggregatesFilter<"SampleCustomEntity"> | string } export type SampleCustomEntityCreateInput = { customText: string customNumber: runtime.Decimal | runtime.DecimalJsLike | number | string customDate: Date | string customBoolean: boolean customSelect: string row: Prisma.RowCreateNestedOneWithoutSampleCustomEntityInput } export type SampleCustomEntityUncheckedCreateInput = { rowId: string customText: string customNumber: runtime.Decimal | runtime.DecimalJsLike | number | string customDate: Date | string customBoolean: boolean customSelect: string } export type SampleCustomEntityUpdateInput = { customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string row?: Prisma.RowUpdateOneRequiredWithoutSampleCustomEntityNestedInput } export type SampleCustomEntityUncheckedUpdateInput = { rowId?: Prisma.StringFieldUpdateOperationsInput | string customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string } export type SampleCustomEntityCreateManyInput = { rowId: string customText: string customNumber: runtime.Decimal | runtime.DecimalJsLike | number | string customDate: Date | string customBoolean: boolean customSelect: string } export type SampleCustomEntityUpdateManyMutationInput = { customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string } export type SampleCustomEntityUncheckedUpdateManyInput = { rowId?: Prisma.StringFieldUpdateOperationsInput | string customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string } export type SampleCustomEntityCountOrderByAggregateInput = { rowId?: Prisma.SortOrder customText?: Prisma.SortOrder customNumber?: Prisma.SortOrder customDate?: Prisma.SortOrder customBoolean?: Prisma.SortOrder customSelect?: Prisma.SortOrder } export type SampleCustomEntityAvgOrderByAggregateInput = { customNumber?: Prisma.SortOrder } export type SampleCustomEntityMaxOrderByAggregateInput = { rowId?: Prisma.SortOrder customText?: Prisma.SortOrder customNumber?: Prisma.SortOrder customDate?: Prisma.SortOrder customBoolean?: Prisma.SortOrder customSelect?: Prisma.SortOrder } export type SampleCustomEntityMinOrderByAggregateInput = { rowId?: Prisma.SortOrder customText?: Prisma.SortOrder customNumber?: Prisma.SortOrder customDate?: Prisma.SortOrder customBoolean?: Prisma.SortOrder customSelect?: Prisma.SortOrder } export type SampleCustomEntitySumOrderByAggregateInput = { customNumber?: Prisma.SortOrder } export type SampleCustomEntityNullableScalarRelationFilter = { is?: Prisma.SampleCustomEntityWhereInput | null isNot?: Prisma.SampleCustomEntityWhereInput | null } export type DecimalFieldUpdateOperationsInput = { set?: runtime.Decimal | runtime.DecimalJsLike | number | string increment?: runtime.Decimal | runtime.DecimalJsLike | number | string decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string divide?: runtime.Decimal | runtime.DecimalJsLike | number | string } export type SampleCustomEntityCreateNestedOneWithoutRowInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SampleCustomEntityCreateOrConnectWithoutRowInput connect?: Prisma.SampleCustomEntityWhereUniqueInput } export type SampleCustomEntityUncheckedCreateNestedOneWithoutRowInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SampleCustomEntityCreateOrConnectWithoutRowInput connect?: Prisma.SampleCustomEntityWhereUniqueInput } export type SampleCustomEntityUpdateOneWithoutRowNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SampleCustomEntityCreateOrConnectWithoutRowInput upsert?: Prisma.SampleCustomEntityUpsertWithoutRowInput disconnect?: Prisma.SampleCustomEntityWhereInput | boolean delete?: Prisma.SampleCustomEntityWhereInput | boolean connect?: Prisma.SampleCustomEntityWhereUniqueInput update?: Prisma.XOR, Prisma.SampleCustomEntityUncheckedUpdateWithoutRowInput> } export type SampleCustomEntityUncheckedUpdateOneWithoutRowNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SampleCustomEntityCreateOrConnectWithoutRowInput upsert?: Prisma.SampleCustomEntityUpsertWithoutRowInput disconnect?: Prisma.SampleCustomEntityWhereInput | boolean delete?: Prisma.SampleCustomEntityWhereInput | boolean connect?: Prisma.SampleCustomEntityWhereUniqueInput update?: Prisma.XOR, Prisma.SampleCustomEntityUncheckedUpdateWithoutRowInput> } export type SampleCustomEntityCreateWithoutRowInput = { customText: string customNumber: runtime.Decimal | runtime.DecimalJsLike | number | string customDate: Date | string customBoolean: boolean customSelect: string } export type SampleCustomEntityUncheckedCreateWithoutRowInput = { customText: string customNumber: runtime.Decimal | runtime.DecimalJsLike | number | string customDate: Date | string customBoolean: boolean customSelect: string } export type SampleCustomEntityCreateOrConnectWithoutRowInput = { where: Prisma.SampleCustomEntityWhereUniqueInput create: Prisma.XOR } export type SampleCustomEntityUpsertWithoutRowInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.SampleCustomEntityWhereInput } export type SampleCustomEntityUpdateToOneWithWhereWithoutRowInput = { where?: Prisma.SampleCustomEntityWhereInput data: Prisma.XOR } export type SampleCustomEntityUpdateWithoutRowInput = { customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string } export type SampleCustomEntityUncheckedUpdateWithoutRowInput = { customText?: Prisma.StringFieldUpdateOperationsInput | string customNumber?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string customDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string customBoolean?: Prisma.BoolFieldUpdateOperationsInput | boolean customSelect?: Prisma.StringFieldUpdateOperationsInput | string } export type SampleCustomEntitySelect = runtime.Types.Extensions.GetSelect<{ rowId?: boolean customText?: boolean customNumber?: boolean customDate?: boolean customBoolean?: boolean customSelect?: boolean row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["sampleCustomEntity"]> export type SampleCustomEntitySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ rowId?: boolean customText?: boolean customNumber?: boolean customDate?: boolean customBoolean?: boolean customSelect?: boolean row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["sampleCustomEntity"]> export type SampleCustomEntitySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ rowId?: boolean customText?: boolean customNumber?: boolean customDate?: boolean customBoolean?: boolean customSelect?: boolean row?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["sampleCustomEntity"]> export type SampleCustomEntitySelectScalar = { rowId?: boolean customText?: boolean customNumber?: boolean customDate?: boolean customBoolean?: boolean customSelect?: boolean } export type SampleCustomEntityOmit = runtime.Types.Extensions.GetOmit<"rowId" | "customText" | "customNumber" | "customDate" | "customBoolean" | "customSelect", ExtArgs["result"]["sampleCustomEntity"]> export type SampleCustomEntityInclude = { row?: boolean | Prisma.RowDefaultArgs } export type SampleCustomEntityIncludeCreateManyAndReturn = { row?: boolean | Prisma.RowDefaultArgs } export type SampleCustomEntityIncludeUpdateManyAndReturn = { row?: boolean | Prisma.RowDefaultArgs } export type $SampleCustomEntityPayload = { name: "SampleCustomEntity" objects: { row: Prisma.$RowPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ rowId: string customText: string customNumber: runtime.Decimal customDate: Date customBoolean: boolean customSelect: string }, ExtArgs["result"]["sampleCustomEntity"]> composites: {} } export type SampleCustomEntityGetPayload = runtime.Types.Result.GetResult export type SampleCustomEntityCountArgs = Omit & { select?: SampleCustomEntityCountAggregateInputType | true } export interface SampleCustomEntityDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SampleCustomEntity'], meta: { name: 'SampleCustomEntity' } } /** * Find zero or one SampleCustomEntity that matches the filter. * @param {SampleCustomEntityFindUniqueArgs} args - Arguments to find a SampleCustomEntity * @example * // Get one SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SampleCustomEntity that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SampleCustomEntityFindUniqueOrThrowArgs} args - Arguments to find a SampleCustomEntity * @example * // Get one SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SampleCustomEntity 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 {SampleCustomEntityFindFirstArgs} args - Arguments to find a SampleCustomEntity * @example * // Get one SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SampleCustomEntity 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 {SampleCustomEntityFindFirstOrThrowArgs} args - Arguments to find a SampleCustomEntity * @example * // Get one SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SampleCustomEntities 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 {SampleCustomEntityFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SampleCustomEntities * const sampleCustomEntities = await prisma.sampleCustomEntity.findMany() * * // Get first 10 SampleCustomEntities * const sampleCustomEntities = await prisma.sampleCustomEntity.findMany({ take: 10 }) * * // Only select the `rowId` * const sampleCustomEntityWithRowIdOnly = await prisma.sampleCustomEntity.findMany({ select: { rowId: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SampleCustomEntity. * @param {SampleCustomEntityCreateArgs} args - Arguments to create a SampleCustomEntity. * @example * // Create one SampleCustomEntity * const SampleCustomEntity = await prisma.sampleCustomEntity.create({ * data: { * // ... data to create a SampleCustomEntity * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SampleCustomEntities. * @param {SampleCustomEntityCreateManyArgs} args - Arguments to create many SampleCustomEntities. * @example * // Create many SampleCustomEntities * const sampleCustomEntity = await prisma.sampleCustomEntity.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many SampleCustomEntities and returns the data saved in the database. * @param {SampleCustomEntityCreateManyAndReturnArgs} args - Arguments to create many SampleCustomEntities. * @example * // Create many SampleCustomEntities * const sampleCustomEntity = await prisma.sampleCustomEntity.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SampleCustomEntities and only return the `rowId` * const sampleCustomEntityWithRowIdOnly = await prisma.sampleCustomEntity.createManyAndReturn({ * select: { rowId: 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 SampleCustomEntity. * @param {SampleCustomEntityDeleteArgs} args - Arguments to delete one SampleCustomEntity. * @example * // Delete one SampleCustomEntity * const SampleCustomEntity = await prisma.sampleCustomEntity.delete({ * where: { * // ... filter to delete one SampleCustomEntity * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SampleCustomEntity. * @param {SampleCustomEntityUpdateArgs} args - Arguments to update one SampleCustomEntity. * @example * // Update one SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SampleCustomEntities. * @param {SampleCustomEntityDeleteManyArgs} args - Arguments to filter SampleCustomEntities to delete. * @example * // Delete a few SampleCustomEntities * const { count } = await prisma.sampleCustomEntity.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SampleCustomEntities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SampleCustomEntityUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SampleCustomEntities * const sampleCustomEntity = await prisma.sampleCustomEntity.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SampleCustomEntities and returns the data updated in the database. * @param {SampleCustomEntityUpdateManyAndReturnArgs} args - Arguments to update many SampleCustomEntities. * @example * // Update many SampleCustomEntities * const sampleCustomEntity = await prisma.sampleCustomEntity.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SampleCustomEntities and only return the `rowId` * const sampleCustomEntityWithRowIdOnly = await prisma.sampleCustomEntity.updateManyAndReturn({ * select: { rowId: 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 SampleCustomEntity. * @param {SampleCustomEntityUpsertArgs} args - Arguments to update or create a SampleCustomEntity. * @example * // Update or create a SampleCustomEntity * const sampleCustomEntity = await prisma.sampleCustomEntity.upsert({ * create: { * // ... data to create a SampleCustomEntity * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SampleCustomEntity we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SampleCustomEntityClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SampleCustomEntities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SampleCustomEntityCountArgs} args - Arguments to filter SampleCustomEntities to count. * @example * // Count the number of SampleCustomEntities * const count = await prisma.sampleCustomEntity.count({ * where: { * // ... the filter for the SampleCustomEntities 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 SampleCustomEntity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SampleCustomEntityAggregateArgs} 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 SampleCustomEntity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SampleCustomEntityGroupByArgs} 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 SampleCustomEntityGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SampleCustomEntityGroupByArgs['orderBy'] } : { orderBy?: SampleCustomEntityGroupByArgs['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 ? GetSampleCustomEntityGroupByPayload : Prisma.PrismaPromise /** * Fields of the SampleCustomEntity model */ readonly fields: SampleCustomEntityFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SampleCustomEntity. * 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__SampleCustomEntityClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" row = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowClient, 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 SampleCustomEntity model */ export interface SampleCustomEntityFieldRefs { readonly rowId: Prisma.FieldRef<"SampleCustomEntity", 'String'> readonly customText: Prisma.FieldRef<"SampleCustomEntity", 'String'> readonly customNumber: Prisma.FieldRef<"SampleCustomEntity", 'Decimal'> readonly customDate: Prisma.FieldRef<"SampleCustomEntity", 'DateTime'> readonly customBoolean: Prisma.FieldRef<"SampleCustomEntity", 'Boolean'> readonly customSelect: Prisma.FieldRef<"SampleCustomEntity", 'String'> } // Custom InputTypes /** * SampleCustomEntity findUnique */ export type SampleCustomEntityFindUniqueArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter, which SampleCustomEntity to fetch. */ where: Prisma.SampleCustomEntityWhereUniqueInput } /** * SampleCustomEntity findUniqueOrThrow */ export type SampleCustomEntityFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter, which SampleCustomEntity to fetch. */ where: Prisma.SampleCustomEntityWhereUniqueInput } /** * SampleCustomEntity findFirst */ export type SampleCustomEntityFindFirstArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter, which SampleCustomEntity to fetch. */ where?: Prisma.SampleCustomEntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SampleCustomEntities to fetch. */ orderBy?: Prisma.SampleCustomEntityOrderByWithRelationInput | Prisma.SampleCustomEntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SampleCustomEntities. */ cursor?: Prisma.SampleCustomEntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SampleCustomEntities 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` SampleCustomEntities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SampleCustomEntities. */ distinct?: Prisma.SampleCustomEntityScalarFieldEnum | Prisma.SampleCustomEntityScalarFieldEnum[] } /** * SampleCustomEntity findFirstOrThrow */ export type SampleCustomEntityFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter, which SampleCustomEntity to fetch. */ where?: Prisma.SampleCustomEntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SampleCustomEntities to fetch. */ orderBy?: Prisma.SampleCustomEntityOrderByWithRelationInput | Prisma.SampleCustomEntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SampleCustomEntities. */ cursor?: Prisma.SampleCustomEntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SampleCustomEntities 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` SampleCustomEntities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SampleCustomEntities. */ distinct?: Prisma.SampleCustomEntityScalarFieldEnum | Prisma.SampleCustomEntityScalarFieldEnum[] } /** * SampleCustomEntity findMany */ export type SampleCustomEntityFindManyArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter, which SampleCustomEntities to fetch. */ where?: Prisma.SampleCustomEntityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SampleCustomEntities to fetch. */ orderBy?: Prisma.SampleCustomEntityOrderByWithRelationInput | Prisma.SampleCustomEntityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SampleCustomEntities. */ cursor?: Prisma.SampleCustomEntityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SampleCustomEntities 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` SampleCustomEntities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SampleCustomEntities. */ distinct?: Prisma.SampleCustomEntityScalarFieldEnum | Prisma.SampleCustomEntityScalarFieldEnum[] } /** * SampleCustomEntity create */ export type SampleCustomEntityCreateArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * The data needed to create a SampleCustomEntity. */ data: Prisma.XOR } /** * SampleCustomEntity createMany */ export type SampleCustomEntityCreateManyArgs = { /** * The data used to create many SampleCustomEntities. */ data: Prisma.SampleCustomEntityCreateManyInput | Prisma.SampleCustomEntityCreateManyInput[] skipDuplicates?: boolean } /** * SampleCustomEntity createManyAndReturn */ export type SampleCustomEntityCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelectCreateManyAndReturn | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * The data used to create many SampleCustomEntities. */ data: Prisma.SampleCustomEntityCreateManyInput | Prisma.SampleCustomEntityCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityIncludeCreateManyAndReturn | null } /** * SampleCustomEntity update */ export type SampleCustomEntityUpdateArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * The data needed to update a SampleCustomEntity. */ data: Prisma.XOR /** * Choose, which SampleCustomEntity to update. */ where: Prisma.SampleCustomEntityWhereUniqueInput } /** * SampleCustomEntity updateMany */ export type SampleCustomEntityUpdateManyArgs = { /** * The data used to update SampleCustomEntities. */ data: Prisma.XOR /** * Filter which SampleCustomEntities to update */ where?: Prisma.SampleCustomEntityWhereInput /** * Limit how many SampleCustomEntities to update. */ limit?: number } /** * SampleCustomEntity updateManyAndReturn */ export type SampleCustomEntityUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelectUpdateManyAndReturn | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * The data used to update SampleCustomEntities. */ data: Prisma.XOR /** * Filter which SampleCustomEntities to update */ where?: Prisma.SampleCustomEntityWhereInput /** * Limit how many SampleCustomEntities to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityIncludeUpdateManyAndReturn | null } /** * SampleCustomEntity upsert */ export type SampleCustomEntityUpsertArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * The filter to search for the SampleCustomEntity to update in case it exists. */ where: Prisma.SampleCustomEntityWhereUniqueInput /** * In case the SampleCustomEntity found by the `where` argument doesn't exist, create a new SampleCustomEntity with this data. */ create: Prisma.XOR /** * In case the SampleCustomEntity was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SampleCustomEntity delete */ export type SampleCustomEntityDeleteArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null /** * Filter which SampleCustomEntity to delete. */ where: Prisma.SampleCustomEntityWhereUniqueInput } /** * SampleCustomEntity deleteMany */ export type SampleCustomEntityDeleteManyArgs = { /** * Filter which SampleCustomEntities to delete */ where?: Prisma.SampleCustomEntityWhereInput /** * Limit how many SampleCustomEntities to delete. */ limit?: number } /** * SampleCustomEntity without action */ export type SampleCustomEntityDefaultArgs = { /** * Select specific fields to fetch from the SampleCustomEntity */ select?: Prisma.SampleCustomEntitySelect | null /** * Omit specific fields from the SampleCustomEntity */ omit?: Prisma.SampleCustomEntityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SampleCustomEntityInclude | null }