/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateRowRelationship]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type RowRelationshipGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof RowRelationshipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 parent?: Prisma.XOR child?: Prisma.XOR } 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 parent?: Prisma.XOR child?: Prisma.XOR }, "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[] connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput | Prisma.RowRelationshipCreateOrConnectWithoutRelationshipInput[] createMany?: Prisma.RowRelationshipCreateManyRelationshipInputEnvelope connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[] } export type RowRelationshipUncheckedCreateNestedManyWithoutRelationshipInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[] createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[] } export type RowRelationshipCreateNestedManyWithoutChildInput = { create?: Prisma.XOR | 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[] connectOrCreate?: Prisma.RowRelationshipCreateOrConnectWithoutParentInput | Prisma.RowRelationshipCreateOrConnectWithoutParentInput[] createMany?: Prisma.RowRelationshipCreateManyParentInputEnvelope connect?: Prisma.RowRelationshipWhereUniqueInput | Prisma.RowRelationshipWhereUniqueInput[] } export type RowRelationshipUncheckedCreateNestedManyWithoutChildInput = { create?: Prisma.XOR | 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[] 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[] 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[] 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[] 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 } export type RowRelationshipCreateManyRelationshipInputEnvelope = { data: Prisma.RowRelationshipCreateManyRelationshipInput | Prisma.RowRelationshipCreateManyRelationshipInput[] skipDuplicates?: boolean } export type RowRelationshipUpsertWithWhereUniqueWithoutRelationshipInput = { where: Prisma.RowRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RowRelationshipUpdateWithWhereUniqueWithoutRelationshipInput = { where: Prisma.RowRelationshipWhereUniqueInput data: Prisma.XOR } export type RowRelationshipUpdateManyWithWhereWithoutRelationshipInput = { where: Prisma.RowRelationshipScalarWhereInput data: Prisma.XOR } 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 } 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 } export type RowRelationshipCreateManyChildInputEnvelope = { data: Prisma.RowRelationshipCreateManyChildInput | Prisma.RowRelationshipCreateManyChildInput[] skipDuplicates?: boolean } export type RowRelationshipUpsertWithWhereUniqueWithoutParentInput = { where: Prisma.RowRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RowRelationshipUpdateWithWhereUniqueWithoutParentInput = { where: Prisma.RowRelationshipWhereUniqueInput data: Prisma.XOR } export type RowRelationshipUpdateManyWithWhereWithoutParentInput = { where: Prisma.RowRelationshipScalarWhereInput data: Prisma.XOR } export type RowRelationshipUpsertWithWhereUniqueWithoutChildInput = { where: Prisma.RowRelationshipWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RowRelationshipUpdateWithWhereUniqueWithoutChildInput = { where: Prisma.RowRelationshipWhereUniqueInput data: Prisma.XOR } export type RowRelationshipUpdateManyWithWhereWithoutChildInput = { where: Prisma.RowRelationshipScalarWhereInput data: Prisma.XOR } 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 = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean relationshipId?: boolean parentId?: boolean childId?: boolean metadata?: boolean relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["rowRelationship"]> export type RowRelationshipSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean relationshipId?: boolean parentId?: boolean childId?: boolean metadata?: boolean relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["rowRelationship"]> export type RowRelationshipSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean relationshipId?: boolean parentId?: boolean childId?: boolean metadata?: boolean relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs }, ExtArgs["result"]["rowRelationship"]> export type RowRelationshipSelectScalar = { id?: boolean createdAt?: boolean relationshipId?: boolean parentId?: boolean childId?: boolean metadata?: boolean } export type RowRelationshipOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "relationshipId" | "parentId" | "childId" | "metadata", ExtArgs["result"]["rowRelationship"]> export type RowRelationshipInclude = { relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs } export type RowRelationshipIncludeCreateManyAndReturn = { relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs } export type RowRelationshipIncludeUpdateManyAndReturn = { relationship?: boolean | Prisma.EntityRelationshipDefaultArgs parent?: boolean | Prisma.RowDefaultArgs child?: boolean | Prisma.RowDefaultArgs } export type $RowRelationshipPayload = { name: "RowRelationship" objects: { relationship: Prisma.$EntityRelationshipPayload parent: Prisma.$RowPayload child: Prisma.$RowPayload } 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 = runtime.Types.Result.GetResult export type RowRelationshipCountArgs = Omit & { select?: RowRelationshipCountAggregateInputType | true } export interface RowRelationshipDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__RowRelationshipClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: RowRelationshipGroupByArgs['orderBy'] } : { orderBy?: RowRelationshipGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetRowRelationshipGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" relationship = {}>(args?: Prisma.Subset>): Prisma.Prisma__EntityRelationshipClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> parent = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> child = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null /** * Filter, which RowRelationship to fetch. */ where: Prisma.RowRelationshipWhereUniqueInput } /** * RowRelationship findUniqueOrThrow */ export type RowRelationshipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null /** * Filter, which RowRelationship to fetch. */ where: Prisma.RowRelationshipWhereUniqueInput } /** * RowRelationship findFirst */ export type RowRelationshipFindFirstArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | 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 = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | 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 = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | 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 = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null /** * The data needed to create a RowRelationship. */ data: Prisma.XOR } /** * RowRelationship createMany */ export type RowRelationshipCreateManyArgs = { /** * The data used to create many RowRelationships. */ data: Prisma.RowRelationshipCreateManyInput | Prisma.RowRelationshipCreateManyInput[] skipDuplicates?: boolean } /** * RowRelationship createManyAndReturn */ export type RowRelationshipCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelectCreateManyAndReturn | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | 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 | null } /** * RowRelationship update */ export type RowRelationshipUpdateArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null /** * The data needed to update a RowRelationship. */ data: Prisma.XOR /** * Choose, which RowRelationship to update. */ where: Prisma.RowRelationshipWhereUniqueInput } /** * RowRelationship updateMany */ export type RowRelationshipUpdateManyArgs = { /** * The data used to update RowRelationships. */ data: Prisma.XOR /** * Filter which RowRelationships to update */ where?: Prisma.RowRelationshipWhereInput /** * Limit how many RowRelationships to update. */ limit?: number } /** * RowRelationship updateManyAndReturn */ export type RowRelationshipUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelectUpdateManyAndReturn | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * The data used to update RowRelationships. */ data: Prisma.XOR /** * 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 | null } /** * RowRelationship upsert */ export type RowRelationshipUpsertArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | 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 /** * In case the RowRelationship was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * RowRelationship delete */ export type RowRelationshipDeleteArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null /** * Filter which RowRelationship to delete. */ where: Prisma.RowRelationshipWhereUniqueInput } /** * RowRelationship deleteMany */ export type RowRelationshipDeleteManyArgs = { /** * Filter which RowRelationships to delete */ where?: Prisma.RowRelationshipWhereInput /** * Limit how many RowRelationships to delete. */ limit?: number } /** * RowRelationship without action */ export type RowRelationshipDefaultArgs = { /** * Select specific fields to fetch from the RowRelationship */ select?: Prisma.RowRelationshipSelect | null /** * Omit specific fields from the RowRelationship */ omit?: Prisma.RowRelationshipOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowRelationshipInclude | null }