Class: PrismaModelBobbin<TModalSilk, TClient>

Type Parameters

TModalSilk extends PrismaModelSilk<any, string, Record<string, any>>

TClient extends PrismaClient

Constructors

new PrismaModelBobbin()

new PrismaModelBobbin<TModalSilk, TClient>(silk, client): PrismaModelBobbin<TModalSilk, TClient>

Parameters

silk: TModalSilk

client: TClient

Returns

PrismaModelBobbin<TModalSilk, TClient>

Defined in

packages/prisma/src/bobbin.ts:43

Properties

client

protected readonly client: TClient

Defined in

packages/prisma/src/bobbin.ts:45


delegate

protected delegate: InferPrismaDelegate<TClient, TModalSilk["name"]>

Defined in

packages/prisma/src/bobbin.ts:40


idKey?

protected optional idKey: string

Defined in

packages/prisma/src/bobbin.ts:92


modelData

protected modelData: PrismaModelMeta

Defined in

packages/prisma/src/bobbin.ts:39


silk

protected readonly silk: TModalSilk

Defined in

packages/prisma/src/bobbin.ts:44


typeWeaver

protected typeWeaver: PrismaActionArgsWeaver

Defined in

packages/prisma/src/bobbin.ts:41

Methods

countQuery()

countQuery<TInputI>(__namedParameters): BobbinCountQuery<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateCountArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinCountQuery<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:144


createManyMutation()

createManyMutation<TInputI>(__namedParameters): BobbinCreateManyMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateCreateManyArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinCreateManyMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:287


createMutation()

createMutation<TInputI>(__namedParameters): BobbinCreateMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateCreateArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinCreateMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:260


deleteManyMutation()

deleteManyMutation<TInputI>(__namedParameters): BobbinDeleteManyMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateDeleteManyArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinDeleteManyMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:351


deleteMutation()

deleteMutation<TInputI>(__namedParameters): BobbinDeleteMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateDeleteArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinDeleteMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:316


findFirstQuery()

findFirstQuery<TInputI>(__namedParameters): BobbinFindFirstQuery<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateFindFirstArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinFindFirstQuery<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:173


findManyQuery()

findManyQuery<TInputI>(__namedParameters): BobbinFindManyQuery<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateFindManyArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinFindManyQuery<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:202


findUniqueQuery()

findUniqueQuery<TInputI>(__namedParameters): BobbinFindUniqueQuery<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateFindUniqueArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinFindUniqueQuery<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:231


relationField()

relationField<TKey>(key, options): BobbinRelationField<TModalSilk, TKey>

Type Parameters

TKey extends string | number | symbol

Parameters

key: TKey

options: object & GraphQLFieldOptions = {}

Returns

BobbinRelationField<TModalSilk, TKey>

Defined in

packages/prisma/src/bobbin.ts:55


relationFieldOutput()

protected relationFieldOutput(field): GraphQLSilk<any, any>

Parameters

field: ReadonlyDeep<object>

Returns

GraphQLSilk<any, any>

Defined in

packages/prisma/src/bobbin.ts:83


resolver()

resolver(options?): BobbinResolver<TModalSilk, TClient>

Parameters

options?: ResolverOptionsWithExtensions<GenericFieldOrOperation>

Returns

BobbinResolver<TModalSilk, TClient>

Defined in

packages/prisma/src/bobbin.ts:116


uniqueWhere()

protected uniqueWhere(instance): any

Parameters

instance: InferOutput<NonNullable<TModalSilk>>

Returns

any

Defined in

packages/prisma/src/bobbin.ts:93


updateManyMutation()

updateManyMutation<TInputI>(__namedParameters): BobbinUpdateManyMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateUpdateManyArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinUpdateManyMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:405


updateMutation()

updateMutation<TInputI>(__namedParameters): BobbinUpdateMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateUpdateArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinUpdateMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:380


upsertMutation()

upsertMutation<TInputI>(__namedParameters): BobbinUpsertMutation<TModalSilk, TClient, TInputI>

Type Parameters

TInputI = InferDelegateUpsertArgs<InferPrismaDelegate<TClient, TModalSilk["name"]>>

Parameters

__namedParameters: GraphQLFieldOptions & object = {}

Returns

BobbinUpsertMutation<TModalSilk, TClient, TInputI>

Defined in

packages/prisma/src/bobbin.ts:433


batchPayloadSilk()

static batchPayloadSilk(): GraphQLSilk<IBatchPayload, IBatchPayload>

Returns

GraphQLSilk<IBatchPayload, IBatchPayload>

Defined in

packages/prisma/src/bobbin.ts:476


getDelegate()

protected static getDelegate(modelName, client): PrismaDelegate

Parameters

modelName: string

client: PrismaClient

Returns

PrismaDelegate

Defined in

packages/prisma/src/bobbin.ts:458