1121 lines
40 KiB
TypeScript
1121 lines
40 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `codeDesjardins` 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"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model codeDesjardins
|
|
*
|
|
*/
|
|
export type codeDesjardinsModel = runtime.Types.Result.DefaultSelection<Prisma.$codeDesjardinsPayload>
|
|
|
|
export type AggregateCodeDesjardins = {
|
|
_count: CodeDesjardinsCountAggregateOutputType | null
|
|
_min: CodeDesjardinsMinAggregateOutputType | null
|
|
_max: CodeDesjardinsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type CodeDesjardinsMinAggregateOutputType = {
|
|
id: string | null
|
|
code: string | null
|
|
label: string | null
|
|
description: string | null
|
|
}
|
|
|
|
export type CodeDesjardinsMaxAggregateOutputType = {
|
|
id: string | null
|
|
code: string | null
|
|
label: string | null
|
|
description: string | null
|
|
}
|
|
|
|
export type CodeDesjardinsCountAggregateOutputType = {
|
|
id: number
|
|
code: number
|
|
label: number
|
|
description: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type CodeDesjardinsMinAggregateInputType = {
|
|
id?: true
|
|
code?: true
|
|
label?: true
|
|
description?: true
|
|
}
|
|
|
|
export type CodeDesjardinsMaxAggregateInputType = {
|
|
id?: true
|
|
code?: true
|
|
label?: true
|
|
description?: true
|
|
}
|
|
|
|
export type CodeDesjardinsCountAggregateInputType = {
|
|
id?: true
|
|
code?: true
|
|
label?: true
|
|
description?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type CodeDesjardinsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which codeDesjardins to aggregate.
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of codeDesjardins to fetch.
|
|
*/
|
|
orderBy?: Prisma.codeDesjardinsOrderByWithRelationInput | Prisma.codeDesjardinsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.codeDesjardinsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` codeDesjardins 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` codeDesjardins.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned codeDesjardins
|
|
**/
|
|
_count?: true | CodeDesjardinsCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: CodeDesjardinsMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: CodeDesjardinsMaxAggregateInputType
|
|
}
|
|
|
|
export type GetCodeDesjardinsAggregateType<T extends CodeDesjardinsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCodeDesjardins]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCodeDesjardins[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCodeDesjardins[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type codeDesjardinsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
orderBy?: Prisma.codeDesjardinsOrderByWithAggregationInput | Prisma.codeDesjardinsOrderByWithAggregationInput[]
|
|
by: Prisma.CodeDesjardinsScalarFieldEnum[] | Prisma.CodeDesjardinsScalarFieldEnum
|
|
having?: Prisma.codeDesjardinsScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: CodeDesjardinsCountAggregateInputType | true
|
|
_min?: CodeDesjardinsMinAggregateInputType
|
|
_max?: CodeDesjardinsMaxAggregateInputType
|
|
}
|
|
|
|
export type CodeDesjardinsGroupByOutputType = {
|
|
id: string
|
|
code: string
|
|
label: string
|
|
description: string
|
|
_count: CodeDesjardinsCountAggregateOutputType | null
|
|
_min: CodeDesjardinsMinAggregateOutputType | null
|
|
_max: CodeDesjardinsMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetCodeDesjardinsGroupByPayload<T extends codeDesjardinsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<CodeDesjardinsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CodeDesjardinsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], CodeDesjardinsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], CodeDesjardinsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type codeDesjardinsWhereInput = {
|
|
AND?: Prisma.codeDesjardinsWhereInput | Prisma.codeDesjardinsWhereInput[]
|
|
OR?: Prisma.codeDesjardinsWhereInput[]
|
|
NOT?: Prisma.codeDesjardinsWhereInput | Prisma.codeDesjardinsWhereInput[]
|
|
id?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
code?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
label?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
description?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
}
|
|
|
|
export type codeDesjardinsOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
code?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
}
|
|
|
|
export type codeDesjardinsWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.codeDesjardinsWhereInput | Prisma.codeDesjardinsWhereInput[]
|
|
OR?: Prisma.codeDesjardinsWhereInput[]
|
|
NOT?: Prisma.codeDesjardinsWhereInput | Prisma.codeDesjardinsWhereInput[]
|
|
code?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
label?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
description?: Prisma.StringFilter<"codeDesjardins"> | string
|
|
}, "id">
|
|
|
|
export type codeDesjardinsOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
code?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
_count?: Prisma.codeDesjardinsCountOrderByAggregateInput
|
|
_max?: Prisma.codeDesjardinsMaxOrderByAggregateInput
|
|
_min?: Prisma.codeDesjardinsMinOrderByAggregateInput
|
|
}
|
|
|
|
export type codeDesjardinsScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.codeDesjardinsScalarWhereWithAggregatesInput | Prisma.codeDesjardinsScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.codeDesjardinsScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.codeDesjardinsScalarWhereWithAggregatesInput | Prisma.codeDesjardinsScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"codeDesjardins"> | string
|
|
code?: Prisma.StringWithAggregatesFilter<"codeDesjardins"> | string
|
|
label?: Prisma.StringWithAggregatesFilter<"codeDesjardins"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"codeDesjardins"> | string
|
|
}
|
|
|
|
export type codeDesjardinsCreateInput = {
|
|
id: string
|
|
code: string
|
|
label: string
|
|
description: string
|
|
}
|
|
|
|
export type codeDesjardinsUncheckedCreateInput = {
|
|
id: string
|
|
code: string
|
|
label: string
|
|
description: string
|
|
}
|
|
|
|
export type codeDesjardinsUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type codeDesjardinsUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type codeDesjardinsCreateManyInput = {
|
|
id: string
|
|
code: string
|
|
label: string
|
|
description: string
|
|
}
|
|
|
|
export type codeDesjardinsUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type codeDesjardinsUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
code?: Prisma.StringFieldUpdateOperationsInput | string
|
|
label?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type codeDesjardinsCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
code?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
}
|
|
|
|
export type codeDesjardinsMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
code?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
}
|
|
|
|
export type codeDesjardinsMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
code?: Prisma.SortOrder
|
|
label?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
}
|
|
|
|
export type StringFieldUpdateOperationsInput = {
|
|
set?: string
|
|
}
|
|
|
|
|
|
|
|
export type codeDesjardinsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
code?: boolean
|
|
label?: boolean
|
|
description?: boolean
|
|
}, ExtArgs["result"]["codeDesjardins"]>
|
|
|
|
export type codeDesjardinsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
code?: boolean
|
|
label?: boolean
|
|
description?: boolean
|
|
}, ExtArgs["result"]["codeDesjardins"]>
|
|
|
|
export type codeDesjardinsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
code?: boolean
|
|
label?: boolean
|
|
description?: boolean
|
|
}, ExtArgs["result"]["codeDesjardins"]>
|
|
|
|
export type codeDesjardinsSelectScalar = {
|
|
id?: boolean
|
|
code?: boolean
|
|
label?: boolean
|
|
description?: boolean
|
|
}
|
|
|
|
export type codeDesjardinsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "label" | "description", ExtArgs["result"]["codeDesjardins"]>
|
|
|
|
export type $codeDesjardinsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "codeDesjardins"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
code: string
|
|
label: string
|
|
description: string
|
|
}, ExtArgs["result"]["codeDesjardins"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type codeDesjardinsGetPayload<S extends boolean | null | undefined | codeDesjardinsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload, S>
|
|
|
|
export type codeDesjardinsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<codeDesjardinsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CodeDesjardinsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface codeDesjardinsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['codeDesjardins'], meta: { name: 'codeDesjardins' } }
|
|
/**
|
|
* Find zero or one CodeDesjardins that matches the filter.
|
|
* @param {codeDesjardinsFindUniqueArgs} args - Arguments to find a CodeDesjardins
|
|
* @example
|
|
* // Get one CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends codeDesjardinsFindUniqueArgs>(args: Prisma.SelectSubset<T, codeDesjardinsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one CodeDesjardins that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {codeDesjardinsFindUniqueOrThrowArgs} args - Arguments to find a CodeDesjardins
|
|
* @example
|
|
* // Get one CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends codeDesjardinsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, codeDesjardinsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first CodeDesjardins 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 {codeDesjardinsFindFirstArgs} args - Arguments to find a CodeDesjardins
|
|
* @example
|
|
* // Get one CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends codeDesjardinsFindFirstArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsFindFirstArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first CodeDesjardins 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 {codeDesjardinsFindFirstOrThrowArgs} args - Arguments to find a CodeDesjardins
|
|
* @example
|
|
* // Get one CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends codeDesjardinsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more CodeDesjardins 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 {codeDesjardinsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findMany()
|
|
*
|
|
* // Get first 10 CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const codeDesjardinsWithIdOnly = await prisma.codeDesjardins.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends codeDesjardinsFindManyArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a CodeDesjardins.
|
|
* @param {codeDesjardinsCreateArgs} args - Arguments to create a CodeDesjardins.
|
|
* @example
|
|
* // Create one CodeDesjardins
|
|
* const CodeDesjardins = await prisma.codeDesjardins.create({
|
|
* data: {
|
|
* // ... data to create a CodeDesjardins
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends codeDesjardinsCreateArgs>(args: Prisma.SelectSubset<T, codeDesjardinsCreateArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many CodeDesjardins.
|
|
* @param {codeDesjardinsCreateManyArgs} args - Arguments to create many CodeDesjardins.
|
|
* @example
|
|
* // Create many CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends codeDesjardinsCreateManyArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many CodeDesjardins and returns the data saved in the database.
|
|
* @param {codeDesjardinsCreateManyAndReturnArgs} args - Arguments to create many CodeDesjardins.
|
|
* @example
|
|
* // Create many CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many CodeDesjardins and only return the `id`
|
|
* const codeDesjardinsWithIdOnly = await prisma.codeDesjardins.createManyAndReturn({
|
|
* select: { id: 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<T extends codeDesjardinsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a CodeDesjardins.
|
|
* @param {codeDesjardinsDeleteArgs} args - Arguments to delete one CodeDesjardins.
|
|
* @example
|
|
* // Delete one CodeDesjardins
|
|
* const CodeDesjardins = await prisma.codeDesjardins.delete({
|
|
* where: {
|
|
* // ... filter to delete one CodeDesjardins
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends codeDesjardinsDeleteArgs>(args: Prisma.SelectSubset<T, codeDesjardinsDeleteArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one CodeDesjardins.
|
|
* @param {codeDesjardinsUpdateArgs} args - Arguments to update one CodeDesjardins.
|
|
* @example
|
|
* // Update one CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends codeDesjardinsUpdateArgs>(args: Prisma.SelectSubset<T, codeDesjardinsUpdateArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more CodeDesjardins.
|
|
* @param {codeDesjardinsDeleteManyArgs} args - Arguments to filter CodeDesjardins to delete.
|
|
* @example
|
|
* // Delete a few CodeDesjardins
|
|
* const { count } = await prisma.codeDesjardins.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends codeDesjardinsDeleteManyArgs>(args?: Prisma.SelectSubset<T, codeDesjardinsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more CodeDesjardins.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {codeDesjardinsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends codeDesjardinsUpdateManyArgs>(args: Prisma.SelectSubset<T, codeDesjardinsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more CodeDesjardins and returns the data updated in the database.
|
|
* @param {codeDesjardinsUpdateManyAndReturnArgs} args - Arguments to update many CodeDesjardins.
|
|
* @example
|
|
* // Update many CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more CodeDesjardins and only return the `id`
|
|
* const codeDesjardinsWithIdOnly = await prisma.codeDesjardins.updateManyAndReturn({
|
|
* select: { id: 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<T extends codeDesjardinsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, codeDesjardinsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one CodeDesjardins.
|
|
* @param {codeDesjardinsUpsertArgs} args - Arguments to update or create a CodeDesjardins.
|
|
* @example
|
|
* // Update or create a CodeDesjardins
|
|
* const codeDesjardins = await prisma.codeDesjardins.upsert({
|
|
* create: {
|
|
* // ... data to create a CodeDesjardins
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the CodeDesjardins we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends codeDesjardinsUpsertArgs>(args: Prisma.SelectSubset<T, codeDesjardinsUpsertArgs<ExtArgs>>): Prisma.Prisma__codeDesjardinsClient<runtime.Types.Result.GetResult<Prisma.$codeDesjardinsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of CodeDesjardins.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {codeDesjardinsCountArgs} args - Arguments to filter CodeDesjardins to count.
|
|
* @example
|
|
* // Count the number of CodeDesjardins
|
|
* const count = await prisma.codeDesjardins.count({
|
|
* where: {
|
|
* // ... the filter for the CodeDesjardins we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends codeDesjardinsCountArgs>(
|
|
args?: Prisma.Subset<T, codeDesjardinsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], CodeDesjardinsCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a CodeDesjardins.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {CodeDesjardinsAggregateArgs} 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<T extends CodeDesjardinsAggregateArgs>(args: Prisma.Subset<T, CodeDesjardinsAggregateArgs>): Prisma.PrismaPromise<GetCodeDesjardinsAggregateType<T>>
|
|
|
|
/**
|
|
* Group by CodeDesjardins.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {codeDesjardinsGroupByArgs} 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 codeDesjardinsGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: codeDesjardinsGroupByArgs['orderBy'] }
|
|
: { orderBy?: codeDesjardinsGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, codeDesjardinsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCodeDesjardinsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the codeDesjardins model
|
|
*/
|
|
readonly fields: codeDesjardinsFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for codeDesjardins.
|
|
* 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__codeDesjardinsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the codeDesjardins model
|
|
*/
|
|
export interface codeDesjardinsFieldRefs {
|
|
readonly id: Prisma.FieldRef<"codeDesjardins", 'String'>
|
|
readonly code: Prisma.FieldRef<"codeDesjardins", 'String'>
|
|
readonly label: Prisma.FieldRef<"codeDesjardins", 'String'>
|
|
readonly description: Prisma.FieldRef<"codeDesjardins", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* codeDesjardins findUnique
|
|
*/
|
|
export type codeDesjardinsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which codeDesjardins to fetch.
|
|
*/
|
|
where: Prisma.codeDesjardinsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins findUniqueOrThrow
|
|
*/
|
|
export type codeDesjardinsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which codeDesjardins to fetch.
|
|
*/
|
|
where: Prisma.codeDesjardinsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins findFirst
|
|
*/
|
|
export type codeDesjardinsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which codeDesjardins to fetch.
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of codeDesjardins to fetch.
|
|
*/
|
|
orderBy?: Prisma.codeDesjardinsOrderByWithRelationInput | Prisma.codeDesjardinsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for codeDesjardins.
|
|
*/
|
|
cursor?: Prisma.codeDesjardinsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` codeDesjardins 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` codeDesjardins.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of codeDesjardins.
|
|
*/
|
|
distinct?: Prisma.CodeDesjardinsScalarFieldEnum | Prisma.CodeDesjardinsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins findFirstOrThrow
|
|
*/
|
|
export type codeDesjardinsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which codeDesjardins to fetch.
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of codeDesjardins to fetch.
|
|
*/
|
|
orderBy?: Prisma.codeDesjardinsOrderByWithRelationInput | Prisma.codeDesjardinsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for codeDesjardins.
|
|
*/
|
|
cursor?: Prisma.codeDesjardinsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` codeDesjardins 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` codeDesjardins.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of codeDesjardins.
|
|
*/
|
|
distinct?: Prisma.CodeDesjardinsScalarFieldEnum | Prisma.CodeDesjardinsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins findMany
|
|
*/
|
|
export type codeDesjardinsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which codeDesjardins to fetch.
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of codeDesjardins to fetch.
|
|
*/
|
|
orderBy?: Prisma.codeDesjardinsOrderByWithRelationInput | Prisma.codeDesjardinsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing codeDesjardins.
|
|
*/
|
|
cursor?: Prisma.codeDesjardinsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` codeDesjardins 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` codeDesjardins.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.CodeDesjardinsScalarFieldEnum | Prisma.CodeDesjardinsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins create
|
|
*/
|
|
export type codeDesjardinsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a codeDesjardins.
|
|
*/
|
|
data: Prisma.XOR<Prisma.codeDesjardinsCreateInput, Prisma.codeDesjardinsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins createMany
|
|
*/
|
|
export type codeDesjardinsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many codeDesjardins.
|
|
*/
|
|
data: Prisma.codeDesjardinsCreateManyInput | Prisma.codeDesjardinsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins createManyAndReturn
|
|
*/
|
|
export type codeDesjardinsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many codeDesjardins.
|
|
*/
|
|
data: Prisma.codeDesjardinsCreateManyInput | Prisma.codeDesjardinsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins update
|
|
*/
|
|
export type codeDesjardinsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a codeDesjardins.
|
|
*/
|
|
data: Prisma.XOR<Prisma.codeDesjardinsUpdateInput, Prisma.codeDesjardinsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which codeDesjardins to update.
|
|
*/
|
|
where: Prisma.codeDesjardinsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins updateMany
|
|
*/
|
|
export type codeDesjardinsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update codeDesjardins.
|
|
*/
|
|
data: Prisma.XOR<Prisma.codeDesjardinsUpdateManyMutationInput, Prisma.codeDesjardinsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which codeDesjardins to update
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* Limit how many codeDesjardins to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins updateManyAndReturn
|
|
*/
|
|
export type codeDesjardinsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update codeDesjardins.
|
|
*/
|
|
data: Prisma.XOR<Prisma.codeDesjardinsUpdateManyMutationInput, Prisma.codeDesjardinsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which codeDesjardins to update
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* Limit how many codeDesjardins to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins upsert
|
|
*/
|
|
export type codeDesjardinsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the codeDesjardins to update in case it exists.
|
|
*/
|
|
where: Prisma.codeDesjardinsWhereUniqueInput
|
|
/**
|
|
* In case the codeDesjardins found by the `where` argument doesn't exist, create a new codeDesjardins with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.codeDesjardinsCreateInput, Prisma.codeDesjardinsUncheckedCreateInput>
|
|
/**
|
|
* In case the codeDesjardins was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.codeDesjardinsUpdateInput, Prisma.codeDesjardinsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins delete
|
|
*/
|
|
export type codeDesjardinsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which codeDesjardins to delete.
|
|
*/
|
|
where: Prisma.codeDesjardinsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins deleteMany
|
|
*/
|
|
export type codeDesjardinsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which codeDesjardins to delete
|
|
*/
|
|
where?: Prisma.codeDesjardinsWhereInput
|
|
/**
|
|
* Limit how many codeDesjardins to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* codeDesjardins without action
|
|
*/
|
|
export type codeDesjardinsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the codeDesjardins
|
|
*/
|
|
select?: Prisma.codeDesjardinsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the codeDesjardins
|
|
*/
|
|
omit?: Prisma.codeDesjardinsOmit<ExtArgs> | null
|
|
}
|