mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 06:11:45 +00:00
1111 lines
40 KiB
TypeScript
1111 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 `schema_version` 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 schema_version
|
|
*
|
|
*/
|
|
export type schema_versionModel = runtime.Types.Result.DefaultSelection<Prisma.$schema_versionPayload>
|
|
|
|
export type AggregateSchema_version = {
|
|
_count: Schema_versionCountAggregateOutputType | null
|
|
_avg: Schema_versionAvgAggregateOutputType | null
|
|
_sum: Schema_versionSumAggregateOutputType | null
|
|
_min: Schema_versionMinAggregateOutputType | null
|
|
_max: Schema_versionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Schema_versionAvgAggregateOutputType = {
|
|
id: number | null
|
|
version: number | null
|
|
}
|
|
|
|
export type Schema_versionSumAggregateOutputType = {
|
|
id: number | null
|
|
version: number | null
|
|
}
|
|
|
|
export type Schema_versionMinAggregateOutputType = {
|
|
id: number | null
|
|
version: number | null
|
|
}
|
|
|
|
export type Schema_versionMaxAggregateOutputType = {
|
|
id: number | null
|
|
version: number | null
|
|
}
|
|
|
|
export type Schema_versionCountAggregateOutputType = {
|
|
id: number
|
|
version: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Schema_versionAvgAggregateInputType = {
|
|
id?: true
|
|
version?: true
|
|
}
|
|
|
|
export type Schema_versionSumAggregateInputType = {
|
|
id?: true
|
|
version?: true
|
|
}
|
|
|
|
export type Schema_versionMinAggregateInputType = {
|
|
id?: true
|
|
version?: true
|
|
}
|
|
|
|
export type Schema_versionMaxAggregateInputType = {
|
|
id?: true
|
|
version?: true
|
|
}
|
|
|
|
export type Schema_versionCountAggregateInputType = {
|
|
id?: true
|
|
version?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Schema_versionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which schema_version to aggregate.
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of schema_versions to fetch.
|
|
*/
|
|
orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.schema_versionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` schema_versions 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` schema_versions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned schema_versions
|
|
**/
|
|
_count?: true | Schema_versionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Schema_versionAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Schema_versionSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Schema_versionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Schema_versionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetSchema_versionAggregateType<T extends Schema_versionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateSchema_version]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateSchema_version[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateSchema_version[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type schema_versionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.schema_versionWhereInput
|
|
orderBy?: Prisma.schema_versionOrderByWithAggregationInput | Prisma.schema_versionOrderByWithAggregationInput[]
|
|
by: Prisma.Schema_versionScalarFieldEnum[] | Prisma.Schema_versionScalarFieldEnum
|
|
having?: Prisma.schema_versionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Schema_versionCountAggregateInputType | true
|
|
_avg?: Schema_versionAvgAggregateInputType
|
|
_sum?: Schema_versionSumAggregateInputType
|
|
_min?: Schema_versionMinAggregateInputType
|
|
_max?: Schema_versionMaxAggregateInputType
|
|
}
|
|
|
|
export type Schema_versionGroupByOutputType = {
|
|
id: number
|
|
version: number
|
|
_count: Schema_versionCountAggregateOutputType | null
|
|
_avg: Schema_versionAvgAggregateOutputType | null
|
|
_sum: Schema_versionSumAggregateOutputType | null
|
|
_min: Schema_versionMinAggregateOutputType | null
|
|
_max: Schema_versionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetSchema_versionGroupByPayload<T extends schema_versionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Schema_versionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Schema_versionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Schema_versionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Schema_versionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type schema_versionWhereInput = {
|
|
AND?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[]
|
|
OR?: Prisma.schema_versionWhereInput[]
|
|
NOT?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[]
|
|
id?: Prisma.IntFilter<"schema_version"> | number
|
|
version?: Prisma.IntFilter<"schema_version"> | number
|
|
}
|
|
|
|
export type schema_versionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
export type schema_versionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
AND?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[]
|
|
OR?: Prisma.schema_versionWhereInput[]
|
|
NOT?: Prisma.schema_versionWhereInput | Prisma.schema_versionWhereInput[]
|
|
version?: Prisma.IntFilter<"schema_version"> | number
|
|
}, "id">
|
|
|
|
export type schema_versionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
_count?: Prisma.schema_versionCountOrderByAggregateInput
|
|
_avg?: Prisma.schema_versionAvgOrderByAggregateInput
|
|
_max?: Prisma.schema_versionMaxOrderByAggregateInput
|
|
_min?: Prisma.schema_versionMinOrderByAggregateInput
|
|
_sum?: Prisma.schema_versionSumOrderByAggregateInput
|
|
}
|
|
|
|
export type schema_versionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.schema_versionScalarWhereWithAggregatesInput | Prisma.schema_versionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.schema_versionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.schema_versionScalarWhereWithAggregatesInput | Prisma.schema_versionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"schema_version"> | number
|
|
version?: Prisma.IntWithAggregatesFilter<"schema_version"> | number
|
|
}
|
|
|
|
export type schema_versionCreateInput = {
|
|
version: number
|
|
}
|
|
|
|
export type schema_versionUncheckedCreateInput = {
|
|
id?: number
|
|
version: number
|
|
}
|
|
|
|
export type schema_versionUpdateInput = {
|
|
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type schema_versionUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type schema_versionCreateManyInput = {
|
|
id?: number
|
|
version: number
|
|
}
|
|
|
|
export type schema_versionUpdateManyMutationInput = {
|
|
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type schema_versionUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
version?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type schema_versionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
export type schema_versionAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
export type schema_versionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
export type schema_versionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
export type schema_versionSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
version?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type schema_versionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
version?: boolean
|
|
}, ExtArgs["result"]["schema_version"]>
|
|
|
|
export type schema_versionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
version?: boolean
|
|
}, ExtArgs["result"]["schema_version"]>
|
|
|
|
export type schema_versionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
version?: boolean
|
|
}, ExtArgs["result"]["schema_version"]>
|
|
|
|
export type schema_versionSelectScalar = {
|
|
id?: boolean
|
|
version?: boolean
|
|
}
|
|
|
|
export type schema_versionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "version", ExtArgs["result"]["schema_version"]>
|
|
|
|
export type $schema_versionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "schema_version"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
version: number
|
|
}, ExtArgs["result"]["schema_version"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type schema_versionGetPayload<S extends boolean | null | undefined | schema_versionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$schema_versionPayload, S>
|
|
|
|
export type schema_versionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<schema_versionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Schema_versionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface schema_versionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['schema_version'], meta: { name: 'schema_version' } }
|
|
/**
|
|
* Find zero or one Schema_version that matches the filter.
|
|
* @param {schema_versionFindUniqueArgs} args - Arguments to find a Schema_version
|
|
* @example
|
|
* // Get one Schema_version
|
|
* const schema_version = await prisma.schema_version.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends schema_versionFindUniqueArgs>(args: Prisma.SelectSubset<T, schema_versionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Schema_version that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {schema_versionFindUniqueOrThrowArgs} args - Arguments to find a Schema_version
|
|
* @example
|
|
* // Get one Schema_version
|
|
* const schema_version = await prisma.schema_version.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends schema_versionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, schema_versionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Schema_version 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 {schema_versionFindFirstArgs} args - Arguments to find a Schema_version
|
|
* @example
|
|
* // Get one Schema_version
|
|
* const schema_version = await prisma.schema_version.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends schema_versionFindFirstArgs>(args?: Prisma.SelectSubset<T, schema_versionFindFirstArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Schema_version 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 {schema_versionFindFirstOrThrowArgs} args - Arguments to find a Schema_version
|
|
* @example
|
|
* // Get one Schema_version
|
|
* const schema_version = await prisma.schema_version.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends schema_versionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, schema_versionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Schema_versions 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 {schema_versionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Schema_versions
|
|
* const schema_versions = await prisma.schema_version.findMany()
|
|
*
|
|
* // Get first 10 Schema_versions
|
|
* const schema_versions = await prisma.schema_version.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const schema_versionWithIdOnly = await prisma.schema_version.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends schema_versionFindManyArgs>(args?: Prisma.SelectSubset<T, schema_versionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Schema_version.
|
|
* @param {schema_versionCreateArgs} args - Arguments to create a Schema_version.
|
|
* @example
|
|
* // Create one Schema_version
|
|
* const Schema_version = await prisma.schema_version.create({
|
|
* data: {
|
|
* // ... data to create a Schema_version
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends schema_versionCreateArgs>(args: Prisma.SelectSubset<T, schema_versionCreateArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Schema_versions.
|
|
* @param {schema_versionCreateManyArgs} args - Arguments to create many Schema_versions.
|
|
* @example
|
|
* // Create many Schema_versions
|
|
* const schema_version = await prisma.schema_version.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends schema_versionCreateManyArgs>(args?: Prisma.SelectSubset<T, schema_versionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Schema_versions and returns the data saved in the database.
|
|
* @param {schema_versionCreateManyAndReturnArgs} args - Arguments to create many Schema_versions.
|
|
* @example
|
|
* // Create many Schema_versions
|
|
* const schema_version = await prisma.schema_version.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Schema_versions and only return the `id`
|
|
* const schema_versionWithIdOnly = await prisma.schema_version.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 schema_versionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, schema_versionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Schema_version.
|
|
* @param {schema_versionDeleteArgs} args - Arguments to delete one Schema_version.
|
|
* @example
|
|
* // Delete one Schema_version
|
|
* const Schema_version = await prisma.schema_version.delete({
|
|
* where: {
|
|
* // ... filter to delete one Schema_version
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends schema_versionDeleteArgs>(args: Prisma.SelectSubset<T, schema_versionDeleteArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Schema_version.
|
|
* @param {schema_versionUpdateArgs} args - Arguments to update one Schema_version.
|
|
* @example
|
|
* // Update one Schema_version
|
|
* const schema_version = await prisma.schema_version.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends schema_versionUpdateArgs>(args: Prisma.SelectSubset<T, schema_versionUpdateArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Schema_versions.
|
|
* @param {schema_versionDeleteManyArgs} args - Arguments to filter Schema_versions to delete.
|
|
* @example
|
|
* // Delete a few Schema_versions
|
|
* const { count } = await prisma.schema_version.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends schema_versionDeleteManyArgs>(args?: Prisma.SelectSubset<T, schema_versionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Schema_versions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {schema_versionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Schema_versions
|
|
* const schema_version = await prisma.schema_version.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends schema_versionUpdateManyArgs>(args: Prisma.SelectSubset<T, schema_versionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Schema_versions and returns the data updated in the database.
|
|
* @param {schema_versionUpdateManyAndReturnArgs} args - Arguments to update many Schema_versions.
|
|
* @example
|
|
* // Update many Schema_versions
|
|
* const schema_version = await prisma.schema_version.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Schema_versions and only return the `id`
|
|
* const schema_versionWithIdOnly = await prisma.schema_version.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 schema_versionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, schema_versionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Schema_version.
|
|
* @param {schema_versionUpsertArgs} args - Arguments to update or create a Schema_version.
|
|
* @example
|
|
* // Update or create a Schema_version
|
|
* const schema_version = await prisma.schema_version.upsert({
|
|
* create: {
|
|
* // ... data to create a Schema_version
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Schema_version we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends schema_versionUpsertArgs>(args: Prisma.SelectSubset<T, schema_versionUpsertArgs<ExtArgs>>): Prisma.Prisma__schema_versionClient<runtime.Types.Result.GetResult<Prisma.$schema_versionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Schema_versions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {schema_versionCountArgs} args - Arguments to filter Schema_versions to count.
|
|
* @example
|
|
* // Count the number of Schema_versions
|
|
* const count = await prisma.schema_version.count({
|
|
* where: {
|
|
* // ... the filter for the Schema_versions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends schema_versionCountArgs>(
|
|
args?: Prisma.Subset<T, schema_versionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Schema_versionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Schema_version.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Schema_versionAggregateArgs} 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 Schema_versionAggregateArgs>(args: Prisma.Subset<T, Schema_versionAggregateArgs>): Prisma.PrismaPromise<GetSchema_versionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Schema_version.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {schema_versionGroupByArgs} 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 schema_versionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: schema_versionGroupByArgs['orderBy'] }
|
|
: { orderBy?: schema_versionGroupByArgs['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, schema_versionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSchema_versionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the schema_version model
|
|
*/
|
|
readonly fields: schema_versionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for schema_version.
|
|
* 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__schema_versionClient<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 schema_version model
|
|
*/
|
|
export interface schema_versionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"schema_version", 'Int'>
|
|
readonly version: Prisma.FieldRef<"schema_version", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* schema_version findUnique
|
|
*/
|
|
export type schema_versionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which schema_version to fetch.
|
|
*/
|
|
where: Prisma.schema_versionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* schema_version findUniqueOrThrow
|
|
*/
|
|
export type schema_versionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which schema_version to fetch.
|
|
*/
|
|
where: Prisma.schema_versionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* schema_version findFirst
|
|
*/
|
|
export type schema_versionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which schema_version to fetch.
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of schema_versions to fetch.
|
|
*/
|
|
orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for schema_versions.
|
|
*/
|
|
cursor?: Prisma.schema_versionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` schema_versions 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` schema_versions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of schema_versions.
|
|
*/
|
|
distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* schema_version findFirstOrThrow
|
|
*/
|
|
export type schema_versionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which schema_version to fetch.
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of schema_versions to fetch.
|
|
*/
|
|
orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for schema_versions.
|
|
*/
|
|
cursor?: Prisma.schema_versionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` schema_versions 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` schema_versions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of schema_versions.
|
|
*/
|
|
distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* schema_version findMany
|
|
*/
|
|
export type schema_versionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which schema_versions to fetch.
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of schema_versions to fetch.
|
|
*/
|
|
orderBy?: Prisma.schema_versionOrderByWithRelationInput | Prisma.schema_versionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing schema_versions.
|
|
*/
|
|
cursor?: Prisma.schema_versionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` schema_versions 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` schema_versions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of schema_versions.
|
|
*/
|
|
distinct?: Prisma.Schema_versionScalarFieldEnum | Prisma.Schema_versionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* schema_version create
|
|
*/
|
|
export type schema_versionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a schema_version.
|
|
*/
|
|
data: Prisma.XOR<Prisma.schema_versionCreateInput, Prisma.schema_versionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* schema_version createMany
|
|
*/
|
|
export type schema_versionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many schema_versions.
|
|
*/
|
|
data: Prisma.schema_versionCreateManyInput | Prisma.schema_versionCreateManyInput[]
|
|
}
|
|
|
|
/**
|
|
* schema_version createManyAndReturn
|
|
*/
|
|
export type schema_versionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many schema_versions.
|
|
*/
|
|
data: Prisma.schema_versionCreateManyInput | Prisma.schema_versionCreateManyInput[]
|
|
}
|
|
|
|
/**
|
|
* schema_version update
|
|
*/
|
|
export type schema_versionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a schema_version.
|
|
*/
|
|
data: Prisma.XOR<Prisma.schema_versionUpdateInput, Prisma.schema_versionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which schema_version to update.
|
|
*/
|
|
where: Prisma.schema_versionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* schema_version updateMany
|
|
*/
|
|
export type schema_versionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update schema_versions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.schema_versionUpdateManyMutationInput, Prisma.schema_versionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which schema_versions to update
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* Limit how many schema_versions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* schema_version updateManyAndReturn
|
|
*/
|
|
export type schema_versionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update schema_versions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.schema_versionUpdateManyMutationInput, Prisma.schema_versionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which schema_versions to update
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* Limit how many schema_versions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* schema_version upsert
|
|
*/
|
|
export type schema_versionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the schema_version to update in case it exists.
|
|
*/
|
|
where: Prisma.schema_versionWhereUniqueInput
|
|
/**
|
|
* In case the schema_version found by the `where` argument doesn't exist, create a new schema_version with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.schema_versionCreateInput, Prisma.schema_versionUncheckedCreateInput>
|
|
/**
|
|
* In case the schema_version was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.schema_versionUpdateInput, Prisma.schema_versionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* schema_version delete
|
|
*/
|
|
export type schema_versionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which schema_version to delete.
|
|
*/
|
|
where: Prisma.schema_versionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* schema_version deleteMany
|
|
*/
|
|
export type schema_versionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which schema_versions to delete
|
|
*/
|
|
where?: Prisma.schema_versionWhereInput
|
|
/**
|
|
* Limit how many schema_versions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* schema_version without action
|
|
*/
|
|
export type schema_versionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schema_version
|
|
*/
|
|
select?: Prisma.schema_versionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schema_version
|
|
*/
|
|
omit?: Prisma.schema_versionOmit<ExtArgs> | null
|
|
}
|