Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/RowRelationship.ts
T

1639 lines
70 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 `RowRelationship` 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 RowRelationship
*
*/
export type RowRelationshipModel = runtime.Types.Result.DefaultSelection<Prisma.$RowRelationshipPayload>
export type AggregateRowRelationship = {
_count: RowRelationshipCountAggregateOutputType | null
_min: RowRelationshipMinAggregateOutputType | null
_max: RowRelationshipMaxAggregateOutputType | null
}
export type RowRelationshipMinAggregateOutputType = {
id: string | null
createdAt: Date | null
relationshipId: string | null
parentId: string | null
childId: string | null
metadata: string | null
}
export type RowRelationshipMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
relationshipId: string | null
parentId: string | null
childId: string | null
metadata: string | null
}
export type RowRelationshipCountAggregateOutputType = {
id: number
createdAt: number
relationshipId: number
parentId: number
childId: number
metadata: number
_all: number
}
export type RowRelationshipMinAggregateInputType = {
id?: true
createdAt?: true
relationshipId?: true
parentId?: true
childId?: true
metadata?: true
}
export type RowRelationshipMaxAggregateInputType = {
id?: true
createdAt?: true
relationshipId?: true
parentId?: true
childId?: true
metadata?: true
}
export type RowRelationshipCountAggregateInputType = {
id?: true
createdAt?: true
relationshipId?: true
parentId?: true
childId?: true
metadata?: true
_all?: true
}
export type RowRelationshipAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which RowRelationship to aggregate.
*/
where?: Prisma.RowRelationshipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowRelationships to fetch.
*/
orderBy?: Prisma.RowRelationshipOrderByWithRelationInput | Prisma.RowRelationshipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.RowRelationshipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowRelationships 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` RowRelationships.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned RowRelationships
**/
_count?: true | RowRelationshipCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: RowRelationshipMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: RowRelationshipMaxAggregateInputType
}
export type GetRowRelationshipAggregateType<T extends RowRelationshipAggregateArgs> = {
[P in keyof T & keyof AggregateRowRelationship]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateRowRelationship[P]>
: Prisma.GetScalarType<T[P], AggregateRowRelationship[P]>
}
export type RowRelationshipGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.RowRelationshipWhereInput
orderBy?: Prisma.RowRelationshipOrderByWithAggregationInput | Prisma.RowRelationshipOrderByWithAggregationInput[]
by: Prisma.RowRelationshipScalarFieldEnum[] | Prisma.RowRelationshipScalarFieldEnum
having?: Prisma.RowRelationshipScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: RowRelationshipCountAggregateInputType | true
_min?: RowRelationshipMinAggregateInputType
_max?: RowRelationshipMaxAggregateInputType
}
export type RowRelationshipGroupByOutputType = {
id: string
createdAt: Date
relationshipId: string
parentId: string
childId: string
metadata: string | null
_count: RowRelationshipCountAggregateOutputType | null
_min: RowRelationshipMinAggregateOutputType | null
_max: RowRelationshipMaxAggregateOutputType | null
}
export type GetRowRelationshipGroupByPayload<T extends RowRelationshipGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<RowRelationshipGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof RowRelationshipGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], RowRelationshipGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], RowRelationshipGroupByOutputType[P]>
}
>
>
export type RowRelationshipWhereInput = {
AND?: Prisma.RowRelationshipWhereInput | Prisma.RowRelationshipWhereInput[]
OR?: Prisma.RowRelationshipWhereInput[]
NOT?: Prisma.RowRelationshipWhereInput | Prisma.RowRelationshipWhereInput[]
id?: Prisma.StringFilter<"RowRelationship"> | string
createdAt?: Prisma.DateTimeFilter<"RowRelationship"> | Date | string
relationshipId?: Prisma.StringFilter<"RowRelationship"> | string
parentId?: Prisma.StringFilter<"RowRelationship"> | string
childId?: Prisma.StringFilter<"RowRelationship"> | string
metadata?: Prisma.StringNullableFilter<"RowRelationship"> | string | null
relationship?: Prisma.XOR<Prisma.EntityRelationshipScalarRelationFilter, Prisma.EntityRelationshipWhereInput>
parent?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
child?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
}
export type RowRelationshipOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
relationshipId?: Prisma.SortOrder
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
relationship?: Prisma.EntityRelationshipOrderByWithRelationInput
parent?: Prisma.RowOrderByWithRelationInput
child?: Prisma.RowOrderByWithRelationInput
}
export type RowRelationshipWhereUniqueInput = Prisma.AtLeast<{
id?: string
parentId_childId?: Prisma.RowRelationshipParentIdChildIdCompoundUniqueInput
AND?: Prisma.RowRelationshipWhereInput | Prisma.RowRelationshipWhereInput[]
OR?: Prisma.RowRelationshipWhereInput[]
NOT?: Prisma.RowRelationshipWhereInput | Prisma.RowRelationshipWhereInput[]
createdAt?: Prisma.DateTimeFilter<"RowRelationship"> | Date | string
relationshipId?: Prisma.StringFilter<"RowRelationship"> | string
parentId?: Prisma.StringFilter<"RowRelationship"> | string
childId?: Prisma.StringFilter<"RowRelationship"> | string
metadata?: Prisma.StringNullableFilter<"RowRelationship"> | string | null
relationship?: Prisma.XOR<Prisma.EntityRelationshipScalarRelationFilter, Prisma.EntityRelationshipWhereInput>
parent?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
child?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
}, "id" | "parentId_childId">
export type RowRelationshipOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
relationshipId?: Prisma.SortOrder
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.RowRelationshipCountOrderByAggregateInput
_max?: Prisma.RowRelationshipMaxOrderByAggregateInput
_min?: Prisma.RowRelationshipMinOrderByAggregateInput
}
export type RowRelationshipScalarWhereWithAggregatesInput = {
AND?: Prisma.RowRelationshipScalarWhereWithAggregatesInput | Prisma.RowRelationshipScalarWhereWithAggregatesInput[]
OR?: Prisma.RowRelationshipScalarWhereWithAggregatesInput[]
NOT?: Prisma.RowRelationshipScalarWhereWithAggregatesInput | Prisma.RowRelationshipScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"RowRelationship"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RowRelationship"> | Date | string
relationshipId?: Prisma.StringWithAggregatesFilter<"RowRelationship"> | string
parentId?: Prisma.StringWithAggregatesFilter<"RowRelationship"> | string
childId?: Prisma.StringWithAggregatesFilter<"RowRelationship"> | string
metadata?: Prisma.StringNullableWithAggregatesFilter<"RowRelationship"> | string | null
}
export type RowRelationshipCreateInput = {
id?: string
createdAt?: Date | string
metadata?: string | null
relationship: Prisma.EntityRelationshipCreateNestedOneWithoutRowsInput
parent: Prisma.RowCreateNestedOneWithoutChildRowsInput
child: Prisma.RowCreateNestedOneWithoutParentRowsInput
}
export type RowRelationshipUncheckedCreateInput = {
id?: string
createdAt?: Date | string
relationshipId: string
parentId: string
childId: string
metadata?: string | null
}
export type RowRelationshipUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
relationship?: Prisma.EntityRelationshipUpdateOneRequiredWithoutRowsNestedInput
parent?: Prisma.RowUpdateOneRequiredWithoutChildRowsNestedInput
child?: Prisma.RowUpdateOneRequiredWithoutParentRowsNestedInput
}
export type RowRelationshipUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipCreateManyInput = {
id?: string
createdAt?: Date | string
relationshipId: string
parentId: string
childId: string
metadata?: string | null
}
export type RowRelationshipUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipListRelationFilter = {
every?: Prisma.RowRelationshipWhereInput
some?: Prisma.RowRelationshipWhereInput
none?: Prisma.RowRelationshipWhereInput
}
export type RowRelationshipOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type RowRelationshipParentIdChildIdCompoundUniqueInput = {
parentId: string
childId: string
}
export type RowRelationshipCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
relationshipId?: Prisma.SortOrder
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
metadata?: Prisma.SortOrder
}
export type RowRelationshipMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
relationshipId?: Prisma.SortOrder
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
metadata?: Prisma.SortOrder
}
export type RowRelationshipMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
relationshipId?: Prisma.SortOrder
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
metadata?: Prisma.SortOrder
}
export type RowRelationshipCreateNestedManyWithoutRelationshipInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput> | Prisma.RowRelationshipCreateWithoutRelationshipInput[] | Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput | Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput[]
createMany?: Prisma.RowRelationshipCreateManyRelationshipInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput> | Prisma.RowRelationshipCreateWithoutRelationshipInput[] | Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput | Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput[]
createMany?: Prisma.RowRelationshipCreateManyRelationshipInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipUpdateManyWithoutRelationshipNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput> | Prisma.RowRelationshipCreateWithoutRelationshipInput[] | Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput | Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput[]
createMany?: Prisma.RowRelationshipCreateManyRelationshipInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutRelationshipInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutRelationshipInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipUncheckedUpdateManyWithoutRelationshipNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput> | Prisma.RowRelationshipCreateWithoutRelationshipInput[] | Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput | Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput[]
createMany?: Prisma.RowRelationshipCreateManyRelationshipInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutRelationshipInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutRelationshipInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipCreateNestedManyWithoutParentInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput> | Prisma.RowRelationshipCreateWithoutParentInput[] | Prisma.RowRelationshipUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[]
createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipCreateNestedManyWithoutChildInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput> | Prisma.RowRelationshipCreateWithoutChildInput[] | Prisma.RowRelationshipUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutChildInput | Prisma.RowRelationshipCreateOrConnectWithoutChildInput[]
createMany?: Prisma.RowRelationshipCreateManyChildInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipUncheckedCreateNestedManyWithoutParentInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput> | Prisma.RowRelationshipCreateWithoutParentInput[] | Prisma.RowRelationshipUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[]
createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipUncheckedCreateNestedManyWithoutChildInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput> | Prisma.RowRelationshipCreateWithoutChildInput[] | Prisma.RowRelationshipUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutChildInput | Prisma.RowRelationshipCreateOrConnectWithoutChildInput[]
createMany?: Prisma.RowRelationshipCreateManyChildInputEnvelope
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
}
export type RowRelationshipUpdateManyWithoutParentNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput> | Prisma.RowRelationshipCreateWithoutParentInput[] | Prisma.RowRelationshipUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutParentInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutParentInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutParentInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutParentInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipUpdateManyWithoutChildNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput> | Prisma.RowRelationshipCreateWithoutChildInput[] | Prisma.RowRelationshipUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutChildInput | Prisma.RowRelationshipCreateOrConnectWithoutChildInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutChildInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutChildInput[]
createMany?: Prisma.RowRelationshipCreateManyChildInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutChildInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutChildInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutChildInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutChildInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipUncheckedUpdateManyWithoutParentNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput> | Prisma.RowRelationshipCreateWithoutParentInput[] | Prisma.RowRelationshipUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutParentInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutParentInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutParentInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutParentInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipUncheckedUpdateManyWithoutChildNestedInput = {
create?: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput> | Prisma.RowRelationshipCreateWithoutChildInput[] | Prisma.RowRelationshipUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutChildInput | Prisma.RowRelationshipCreateOrConnectWithoutChildInput[]
upsert?: Prisma.RowRelationshipUpsertWithWhereUniqueWithoutChildInput | Prisma.RowRelationshipUpsertWithWhereUniqueWithoutChildInput[]
createMany?: Prisma.RowRelationshipCreateManyChildInputEnvelope
set?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
disconnect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
delete?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[]
update?: Prisma.RowRelationshipUpdateWithWhereUniqueWithoutChildInput | Prisma.RowRelationshipUpdateWithWhereUniqueWithoutChildInput[]
updateMany?: Prisma.RowRelationshipUpdateManyWithWhereWithoutChildInput | Prisma.RowRelationshipUpdateManyWithWhereWithoutChildInput[]
deleteMany?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
}
export type RowRelationshipCreateWithoutRelationshipInput = {
id?: string
createdAt?: Date | string
metadata?: string | null
parent: Prisma.RowCreateNestedOneWithoutChildRowsInput
child: Prisma.RowCreateNestedOneWithoutParentRowsInput
}
export type RowRelationshipUncheckedCreateWithoutRelationshipInput = {
id?: string
createdAt?: Date | string
parentId: string
childId: string
metadata?: string | null
}
export type RowRelationshipCreateOrConnectWithoutRelationshipInput = {
where: Prisma.RowRelationshipWhereUniqueInput
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput>
}
export type RowRelationshipCreateManyRelationshipInputEnvelope = {
data: Prisma.RowRelationshipCreateManyRelationshipInput | Prisma.RowRelationshipCreateManyRelationshipInput[]
skipDuplicates?: boolean
}
export type RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput = {
where: Prisma.RowRelationshipWhereUniqueInput
update: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedUpdateWithoutRelationshipInput>
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedCreateWithoutRelationshipInput>
}
export type RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput = {
where: Prisma.RowRelationshipWhereUniqueInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutRelationshipInput, Prisma.RowRelationshipUncheckedUpdateWithoutRelationshipInput>
}
export type RowRelationshipUpdateManyWithWhereWithoutRelationshipInput = {
where: Prisma.RowRelationshipScalarWhereInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateManyMutationInput, Prisma.RowRelationshipUncheckedUpdateManyWithoutRelationshipInput>
}
export type RowRelationshipScalarWhereInput = {
AND?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
OR?: Prisma.RowRelationshipScalarWhereInput[]
NOT?: Prisma.RowRelationshipScalarWhereInput | Prisma.RowRelationshipScalarWhereInput[]
id?: Prisma.StringFilter<"RowRelationship"> | string
createdAt?: Prisma.DateTimeFilter<"RowRelationship"> | Date | string
relationshipId?: Prisma.StringFilter<"RowRelationship"> | string
parentId?: Prisma.StringFilter<"RowRelationship"> | string
childId?: Prisma.StringFilter<"RowRelationship"> | string
metadata?: Prisma.StringNullableFilter<"RowRelationship"> | string | null
}
export type RowRelationshipCreateWithoutParentInput = {
id?: string
createdAt?: Date | string
metadata?: string | null
relationship: Prisma.EntityRelationshipCreateNestedOneWithoutRowsInput
child: Prisma.RowCreateNestedOneWithoutParentRowsInput
}
export type RowRelationshipUncheckedCreateWithoutParentInput = {
id?: string
createdAt?: Date | string
relationshipId: string
childId: string
metadata?: string | null
}
export type RowRelationshipCreateOrConnectWithoutParentInput = {
where: Prisma.RowRelationshipWhereUniqueInput
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput>
}
export type RowRelationshipCreateManyParentInputEnvelope = {
data: Prisma.RowRelationshipCreateManyParentInput | Prisma.RowRelationshipCreateManyParentInput[]
skipDuplicates?: boolean
}
export type RowRelationshipCreateWithoutChildInput = {
id?: string
createdAt?: Date | string
metadata?: string | null
relationship: Prisma.EntityRelationshipCreateNestedOneWithoutRowsInput
parent: Prisma.RowCreateNestedOneWithoutChildRowsInput
}
export type RowRelationshipUncheckedCreateWithoutChildInput = {
id?: string
createdAt?: Date | string
relationshipId: string
parentId: string
metadata?: string | null
}
export type RowRelationshipCreateOrConnectWithoutChildInput = {
where: Prisma.RowRelationshipWhereUniqueInput
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput>
}
export type RowRelationshipCreateManyChildInputEnvelope = {
data: Prisma.RowRelationshipCreateManyChildInput | Prisma.RowRelationshipCreateManyChildInput[]
skipDuplicates?: boolean
}
export type RowRelationshipUpsertWithWhereUniqueWithoutParentInput = {
where: Prisma.RowRelationshipWhereUniqueInput
update: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutParentInput, Prisma.RowRelationshipUncheckedUpdateWithoutParentInput>
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutParentInput, Prisma.RowRelationshipUncheckedCreateWithoutParentInput>
}
export type RowRelationshipUpdateWithWhereUniqueWithoutParentInput = {
where: Prisma.RowRelationshipWhereUniqueInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutParentInput, Prisma.RowRelationshipUncheckedUpdateWithoutParentInput>
}
export type RowRelationshipUpdateManyWithWhereWithoutParentInput = {
where: Prisma.RowRelationshipScalarWhereInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateManyMutationInput, Prisma.RowRelationshipUncheckedUpdateManyWithoutParentInput>
}
export type RowRelationshipUpsertWithWhereUniqueWithoutChildInput = {
where: Prisma.RowRelationshipWhereUniqueInput
update: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutChildInput, Prisma.RowRelationshipUncheckedUpdateWithoutChildInput>
create: Prisma.XOR<Prisma.RowRelationshipCreateWithoutChildInput, Prisma.RowRelationshipUncheckedCreateWithoutChildInput>
}
export type RowRelationshipUpdateWithWhereUniqueWithoutChildInput = {
where: Prisma.RowRelationshipWhereUniqueInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateWithoutChildInput, Prisma.RowRelationshipUncheckedUpdateWithoutChildInput>
}
export type RowRelationshipUpdateManyWithWhereWithoutChildInput = {
where: Prisma.RowRelationshipScalarWhereInput
data: Prisma.XOR<Prisma.RowRelationshipUpdateManyMutationInput, Prisma.RowRelationshipUncheckedUpdateManyWithoutChildInput>
}
export type RowRelationshipCreateManyRelationshipInput = {
id?: string
createdAt?: Date | string
parentId: string
childId: string
metadata?: string | null
}
export type RowRelationshipUpdateWithoutRelationshipInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
parent?: Prisma.RowUpdateOneRequiredWithoutChildRowsNestedInput
child?: Prisma.RowUpdateOneRequiredWithoutParentRowsNestedInput
}
export type RowRelationshipUncheckedUpdateWithoutRelationshipInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipUncheckedUpdateManyWithoutRelationshipInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipCreateManyParentInput = {
id?: string
createdAt?: Date | string
relationshipId: string
childId: string
metadata?: string | null
}
export type RowRelationshipCreateManyChildInput = {
id?: string
createdAt?: Date | string
relationshipId: string
parentId: string
metadata?: string | null
}
export type RowRelationshipUpdateWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
relationship?: Prisma.EntityRelationshipUpdateOneRequiredWithoutRowsNestedInput
child?: Prisma.RowUpdateOneRequiredWithoutParentRowsNestedInput
}
export type RowRelationshipUncheckedUpdateWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipUncheckedUpdateManyWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipUpdateWithoutChildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
relationship?: Prisma.EntityRelationshipUpdateOneRequiredWithoutRowsNestedInput
parent?: Prisma.RowUpdateOneRequiredWithoutChildRowsNestedInput
}
export type RowRelationshipUncheckedUpdateWithoutChildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipUncheckedUpdateManyWithoutChildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
relationshipId?: Prisma.StringFieldUpdateOperationsInput | string
parentId?: Prisma.StringFieldUpdateOperationsInput | string
metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type RowRelationshipSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
relationshipId?: boolean
parentId?: boolean
childId?: boolean
metadata?: boolean
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowRelationship"]>
export type RowRelationshipSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
relationshipId?: boolean
parentId?: boolean
childId?: boolean
metadata?: boolean
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowRelationship"]>
export type RowRelationshipSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
relationshipId?: boolean
parentId?: boolean
childId?: boolean
metadata?: boolean
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowRelationship"]>
export type RowRelationshipSelectScalar = {
id?: boolean
createdAt?: boolean
relationshipId?: boolean
parentId?: boolean
childId?: boolean
metadata?: boolean
}
export type RowRelationshipOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "relationshipId" | "parentId" | "childId" | "metadata", ExtArgs["result"]["rowRelationship"]>
export type RowRelationshipInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}
export type RowRelationshipIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}
export type RowRelationshipIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
relationship?: boolean | Prisma.EntityRelationshipDefaultArgs<ExtArgs>
parent?: boolean | Prisma.RowDefaultArgs<ExtArgs>
child?: boolean | Prisma.RowDefaultArgs<ExtArgs>
}
export type $RowRelationshipPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "RowRelationship"
objects: {
relationship: Prisma.$EntityRelationshipPayload<ExtArgs>
parent: Prisma.$RowPayload<ExtArgs>
child: Prisma.$RowPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
relationshipId: string
parentId: string
childId: string
metadata: string | null
}, ExtArgs["result"]["rowRelationship"]>
composites: {}
}
export type RowRelationshipGetPayload<S extends boolean | null | undefined | RowRelationshipDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload, S>
export type RowRelationshipCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<RowRelationshipFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: RowRelationshipCountAggregateInputType | true
}
export interface RowRelationshipDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RowRelationship'], meta: { name: 'RowRelationship' } }
/**
* Find zero or one RowRelationship that matches the filter.
* @param {RowRelationshipFindUniqueArgs} args - Arguments to find a RowRelationship
* @example
* // Get one RowRelationship
* const rowRelationship = await prisma.rowRelationship.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends RowRelationshipFindUniqueArgs>(args: Prisma.SelectSubset<T, RowRelationshipFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one RowRelationship that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {RowRelationshipFindUniqueOrThrowArgs} args - Arguments to find a RowRelationship
* @example
* // Get one RowRelationship
* const rowRelationship = await prisma.rowRelationship.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends RowRelationshipFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RowRelationshipFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first RowRelationship 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 {RowRelationshipFindFirstArgs} args - Arguments to find a RowRelationship
* @example
* // Get one RowRelationship
* const rowRelationship = await prisma.rowRelationship.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends RowRelationshipFindFirstArgs>(args?: Prisma.SelectSubset<T, RowRelationshipFindFirstArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first RowRelationship 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 {RowRelationshipFindFirstOrThrowArgs} args - Arguments to find a RowRelationship
* @example
* // Get one RowRelationship
* const rowRelationship = await prisma.rowRelationship.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends RowRelationshipFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RowRelationshipFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more RowRelationships 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 {RowRelationshipFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all RowRelationships
* const rowRelationships = await prisma.rowRelationship.findMany()
*
* // Get first 10 RowRelationships
* const rowRelationships = await prisma.rowRelationship.findMany({ take: 10 })
*
* // Only select the `id`
* const rowRelationshipWithIdOnly = await prisma.rowRelationship.findMany({ select: { id: true } })
*
*/
findMany<T extends RowRelationshipFindManyArgs>(args?: Prisma.SelectSubset<T, RowRelationshipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a RowRelationship.
* @param {RowRelationshipCreateArgs} args - Arguments to create a RowRelationship.
* @example
* // Create one RowRelationship
* const RowRelationship = await prisma.rowRelationship.create({
* data: {
* // ... data to create a RowRelationship
* }
* })
*
*/
create<T extends RowRelationshipCreateArgs>(args: Prisma.SelectSubset<T, RowRelationshipCreateArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many RowRelationships.
* @param {RowRelationshipCreateManyArgs} args - Arguments to create many RowRelationships.
* @example
* // Create many RowRelationships
* const rowRelationship = await prisma.rowRelationship.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends RowRelationshipCreateManyArgs>(args?: Prisma.SelectSubset<T, RowRelationshipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many RowRelationships and returns the data saved in the database.
* @param {RowRelationshipCreateManyAndReturnArgs} args - Arguments to create many RowRelationships.
* @example
* // Create many RowRelationships
* const rowRelationship = await prisma.rowRelationship.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many RowRelationships and only return the `id`
* const rowRelationshipWithIdOnly = await prisma.rowRelationship.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 RowRelationshipCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RowRelationshipCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a RowRelationship.
* @param {RowRelationshipDeleteArgs} args - Arguments to delete one RowRelationship.
* @example
* // Delete one RowRelationship
* const RowRelationship = await prisma.rowRelationship.delete({
* where: {
* // ... filter to delete one RowRelationship
* }
* })
*
*/
delete<T extends RowRelationshipDeleteArgs>(args: Prisma.SelectSubset<T, RowRelationshipDeleteArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one RowRelationship.
* @param {RowRelationshipUpdateArgs} args - Arguments to update one RowRelationship.
* @example
* // Update one RowRelationship
* const rowRelationship = await prisma.rowRelationship.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends RowRelationshipUpdateArgs>(args: Prisma.SelectSubset<T, RowRelationshipUpdateArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more RowRelationships.
* @param {RowRelationshipDeleteManyArgs} args - Arguments to filter RowRelationships to delete.
* @example
* // Delete a few RowRelationships
* const { count } = await prisma.rowRelationship.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends RowRelationshipDeleteManyArgs>(args?: Prisma.SelectSubset<T, RowRelationshipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more RowRelationships.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowRelationshipUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many RowRelationships
* const rowRelationship = await prisma.rowRelationship.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends RowRelationshipUpdateManyArgs>(args: Prisma.SelectSubset<T, RowRelationshipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more RowRelationships and returns the data updated in the database.
* @param {RowRelationshipUpdateManyAndReturnArgs} args - Arguments to update many RowRelationships.
* @example
* // Update many RowRelationships
* const rowRelationship = await prisma.rowRelationship.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more RowRelationships and only return the `id`
* const rowRelationshipWithIdOnly = await prisma.rowRelationship.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 RowRelationshipUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RowRelationshipUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one RowRelationship.
* @param {RowRelationshipUpsertArgs} args - Arguments to update or create a RowRelationship.
* @example
* // Update or create a RowRelationship
* const rowRelationship = await prisma.rowRelationship.upsert({
* create: {
* // ... data to create a RowRelationship
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the RowRelationship we want to update
* }
* })
*/
upsert<T extends RowRelationshipUpsertArgs>(args: Prisma.SelectSubset<T, RowRelationshipUpsertArgs<ExtArgs>>): Prisma.Prisma__RowRelationshipClient<runtime.Types.Result.GetResult<Prisma.$RowRelationshipPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of RowRelationships.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowRelationshipCountArgs} args - Arguments to filter RowRelationships to count.
* @example
* // Count the number of RowRelationships
* const count = await prisma.rowRelationship.count({
* where: {
* // ... the filter for the RowRelationships we want to count
* }
* })
**/
count<T extends RowRelationshipCountArgs>(
args?: Prisma.Subset<T, RowRelationshipCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], RowRelationshipCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a RowRelationship.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowRelationshipAggregateArgs} 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 RowRelationshipAggregateArgs>(args: Prisma.Subset<T, RowRelationshipAggregateArgs>): Prisma.PrismaPromise<GetRowRelationshipAggregateType<T>>
/**
* Group by RowRelationship.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowRelationshipGroupByArgs} 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 RowRelationshipGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: RowRelationshipGroupByArgs['orderBy'] }
: { orderBy?: RowRelationshipGroupByArgs['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, RowRelationshipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRowRelationshipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the RowRelationship model
*/
readonly fields: RowRelationshipFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for RowRelationship.
* 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__RowRelationshipClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
relationship<T extends Prisma.EntityRelationshipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityRelationshipDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityRelationshipClient<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
parent<T extends Prisma.RowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowDefaultArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
child<T extends Prisma.RowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowDefaultArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, 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<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 RowRelationship model
*/
export interface RowRelationshipFieldRefs {
readonly id: Prisma.FieldRef<"RowRelationship", 'String'>
readonly createdAt: Prisma.FieldRef<"RowRelationship", 'DateTime'>
readonly relationshipId: Prisma.FieldRef<"RowRelationship", 'String'>
readonly parentId: Prisma.FieldRef<"RowRelationship", 'String'>
readonly childId: Prisma.FieldRef<"RowRelationship", 'String'>
readonly metadata: Prisma.FieldRef<"RowRelationship", 'String'>
}
// Custom InputTypes
/**
* RowRelationship findUnique
*/
export type RowRelationshipFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter, which RowRelationship to fetch.
*/
where: Prisma.RowRelationshipWhereUniqueInput
}
/**
* RowRelationship findUniqueOrThrow
*/
export type RowRelationshipFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter, which RowRelationship to fetch.
*/
where: Prisma.RowRelationshipWhereUniqueInput
}
/**
* RowRelationship findFirst
*/
export type RowRelationshipFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter, which RowRelationship to fetch.
*/
where?: Prisma.RowRelationshipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowRelationships to fetch.
*/
orderBy?: Prisma.RowRelationshipOrderByWithRelationInput | Prisma.RowRelationshipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for RowRelationships.
*/
cursor?: Prisma.RowRelationshipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowRelationships 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` RowRelationships.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowRelationships.
*/
distinct?: Prisma.RowRelationshipScalarFieldEnum | Prisma.RowRelationshipScalarFieldEnum[]
}
/**
* RowRelationship findFirstOrThrow
*/
export type RowRelationshipFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter, which RowRelationship to fetch.
*/
where?: Prisma.RowRelationshipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowRelationships to fetch.
*/
orderBy?: Prisma.RowRelationshipOrderByWithRelationInput | Prisma.RowRelationshipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for RowRelationships.
*/
cursor?: Prisma.RowRelationshipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowRelationships 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` RowRelationships.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowRelationships.
*/
distinct?: Prisma.RowRelationshipScalarFieldEnum | Prisma.RowRelationshipScalarFieldEnum[]
}
/**
* RowRelationship findMany
*/
export type RowRelationshipFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter, which RowRelationships to fetch.
*/
where?: Prisma.RowRelationshipWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowRelationships to fetch.
*/
orderBy?: Prisma.RowRelationshipOrderByWithRelationInput | Prisma.RowRelationshipOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing RowRelationships.
*/
cursor?: Prisma.RowRelationshipWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowRelationships 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` RowRelationships.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowRelationships.
*/
distinct?: Prisma.RowRelationshipScalarFieldEnum | Prisma.RowRelationshipScalarFieldEnum[]
}
/**
* RowRelationship create
*/
export type RowRelationshipCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* The data needed to create a RowRelationship.
*/
data: Prisma.XOR<Prisma.RowRelationshipCreateInput, Prisma.RowRelationshipUncheckedCreateInput>
}
/**
* RowRelationship createMany
*/
export type RowRelationshipCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many RowRelationships.
*/
data: Prisma.RowRelationshipCreateManyInput | Prisma.RowRelationshipCreateManyInput[]
skipDuplicates?: boolean
}
/**
* RowRelationship createManyAndReturn
*/
export type RowRelationshipCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* The data used to create many RowRelationships.
*/
data: Prisma.RowRelationshipCreateManyInput | Prisma.RowRelationshipCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* RowRelationship update
*/
export type RowRelationshipUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* The data needed to update a RowRelationship.
*/
data: Prisma.XOR<Prisma.RowRelationshipUpdateInput, Prisma.RowRelationshipUncheckedUpdateInput>
/**
* Choose, which RowRelationship to update.
*/
where: Prisma.RowRelationshipWhereUniqueInput
}
/**
* RowRelationship updateMany
*/
export type RowRelationshipUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update RowRelationships.
*/
data: Prisma.XOR<Prisma.RowRelationshipUpdateManyMutationInput, Prisma.RowRelationshipUncheckedUpdateManyInput>
/**
* Filter which RowRelationships to update
*/
where?: Prisma.RowRelationshipWhereInput
/**
* Limit how many RowRelationships to update.
*/
limit?: number
}
/**
* RowRelationship updateManyAndReturn
*/
export type RowRelationshipUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* The data used to update RowRelationships.
*/
data: Prisma.XOR<Prisma.RowRelationshipUpdateManyMutationInput, Prisma.RowRelationshipUncheckedUpdateManyInput>
/**
* Filter which RowRelationships to update
*/
where?: Prisma.RowRelationshipWhereInput
/**
* Limit how many RowRelationships to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* RowRelationship upsert
*/
export type RowRelationshipUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* The filter to search for the RowRelationship to update in case it exists.
*/
where: Prisma.RowRelationshipWhereUniqueInput
/**
* In case the RowRelationship found by the `where` argument doesn't exist, create a new RowRelationship with this data.
*/
create: Prisma.XOR<Prisma.RowRelationshipCreateInput, Prisma.RowRelationshipUncheckedCreateInput>
/**
* In case the RowRelationship was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.RowRelationshipUpdateInput, Prisma.RowRelationshipUncheckedUpdateInput>
}
/**
* RowRelationship delete
*/
export type RowRelationshipDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
/**
* Filter which RowRelationship to delete.
*/
where: Prisma.RowRelationshipWhereUniqueInput
}
/**
* RowRelationship deleteMany
*/
export type RowRelationshipDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which RowRelationships to delete
*/
where?: Prisma.RowRelationshipWhereInput
/**
* Limit how many RowRelationships to delete.
*/
limit?: number
}
/**
* RowRelationship without action
*/
export type RowRelationshipDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowRelationship
*/
select?: Prisma.RowRelationshipSelect<ExtArgs> | null
/**
* Omit specific fields from the RowRelationship
*/
omit?: Prisma.RowRelationshipOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowRelationshipInclude<ExtArgs> | null
}