• TSchema extends EntitySchema
<any
, any
> & GraphQLSilk
new MikroOperationBobbin<
TSchema
>(entity
,optionsOrGetEntityManager
):MikroOperationBobbin
<TSchema
>
• entity: TSchema
• optionsOrGetEntityManager: MikroOperationBobbinOptions
| () => MayPromise
<EntityManager
<IDatabaseDriver
<Connection
>>>
MikroOperationBobbin
<TSchema
>
packages/mikro-orm/src/operations.ts:49
readonly
entity:TSchema
packages/mikro-orm/src/operations.ts:50
flushMiddleware:
Middleware
packages/mikro-orm/src/operations.ts:71
readonly
options:MikroOperationBobbinOptions
packages/mikro-orm/src/operations.ts:48
static
COMPARISON_KEYS:string
="comparisonKeys"
packages/mikro-orm/src/operations.ts:455
CreateInput():
GraphQLSilk
<RequiredEntityData
<InferEntity
<TSchema
>>,object
>
GraphQLSilk
<RequiredEntityData
<InferEntity
<TSchema
>>, object
>
packages/mikro-orm/src/operations.ts:77
CreateMutation<
TInputI
>(__namedParameters
):FieldOrOperation
<undefined
,TSchema
,GraphQLSilk
<RequiredEntityData
<InferEntity
<TSchema
>>,TInputI
>,"mutation"
>
Create a create
mutation for the given entity.
• TInputI = object
• __namedParameters: object
& GraphQLFieldOptions
= {}
FieldOrOperation
<undefined
, TSchema
, GraphQLSilk
<RequiredEntityData
<InferEntity
<TSchema
>>, TInputI
>, "mutation"
>
packages/mikro-orm/src/operations.ts:104
DeleteOneMutation<
TInputI
>(__namedParameters
):FieldOrOperation
<undefined
,NullableSilk
<TSchema
>,GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>,TInputI
>,"mutation"
>
Create a deleteOne
mutation for the given entity.
• TInputI = FindOneFilter
<InferEntity
<TSchema
>>
• __namedParameters: object
& GraphQLFieldOptions
= {}
FieldOrOperation
<undefined
, NullableSilk
<TSchema
>, GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>, TInputI
>, "mutation"
>
packages/mikro-orm/src/operations.ts:306
FindManyOptions():
GraphQLSilk
<any
,any
>
GraphQLSilk
<any
, any
>
packages/mikro-orm/src/operations.ts:358
FindManyOptionsOrderByType():
GraphQLObjectType
<any
,any
>
GraphQLObjectType
<any
, any
>
packages/mikro-orm/src/operations.ts:409
FindManyOptionsWhereType():
GraphQLObjectType
<any
,any
>
GraphQLObjectType
<any
, any
>
packages/mikro-orm/src/operations.ts:430
FindManyQuery<
TInputI
>(__namedParameters
):FieldOrOperation
<undefined
,ListSilk
<TSchema
>,GraphQLSilk
<FindAllOptions
<InferEntity
<TSchema
>,never
,"*"
,never
>,TInputI
>,"query"
>
Create a findMany
query for the given entity.
• TInputI = FindManyOptions
<InferEntity
<TSchema
>>
• __namedParameters: object
& GraphQLFieldOptions
= {}
FieldOrOperation
<undefined
, ListSilk
<TSchema
>, GraphQLSilk
<FindAllOptions
<InferEntity
<TSchema
>, never
, "*"
, never
>, TInputI
>, "query"
>
packages/mikro-orm/src/operations.ts:459
FindOneFilter():
GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>,FindOneFilter
<InferEntity
<TSchema
>>>
GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>, FindOneFilter
<InferEntity
<TSchema
>>>
packages/mikro-orm/src/operations.ts:234
FindOneQuery<
TInputI
>(__namedParameters
):FieldOrOperation
<undefined
,TSchema
,GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>,TInputI
>,"query"
>
Create a findOne
query for the given entity.
• TInputI = FindOneFilter
<InferEntity
<TSchema
>>
• __namedParameters: object
& GraphQLFieldOptions
= {}
FieldOrOperation
<undefined
, TSchema
, GraphQLSilk
<FindOneFilter
<InferEntity
<TSchema
>>, TInputI
>, "query"
>
packages/mikro-orm/src/operations.ts:255
getEm():
MayPromise
<EntityManager
<IDatabaseDriver
<Connection
>>>
MayPromise
<EntityManager
<IDatabaseDriver
<Connection
>>>
packages/mikro-orm/src/operations.ts:73
protected
middlewaresWithFlush<TField
>(__namedParameters
):Middleware
<TField
>[]
• TField extends GenericFieldOrOperation
• __namedParameters
• __namedParameters.middlewares?: Middleware
<TField
>[]
Middleware
<TField
>[]
packages/mikro-orm/src/operations.ts:502
UpdateInput():
GraphQLSilk
<UpdateInput
<InferEntity
<TSchema
>>,object
>
GraphQLSilk
<UpdateInput
<InferEntity
<TSchema
>>, object
>
packages/mikro-orm/src/operations.ts:154
UpdateMutation<
TInputI
>(__namedParameters
):FieldOrOperation
<undefined
,TSchema
,GraphQLSilk
<UpdateInput
<InferEntity
<TSchema
>>,TInputI
>,"mutation"
>
Create a update
mutation for the given entity.
• TInputI = object
• __namedParameters: object
& GraphQLFieldOptions
= {}
FieldOrOperation
<undefined
, TSchema
, GraphQLSilk
<UpdateInput
<InferEntity
<TSchema
>>, TInputI
>, "mutation"
>
packages/mikro-orm/src/operations.ts:181
static
ComparisonOperatorsType<TScalarType
>(type
):GraphQLObjectType
<any
,any
>
• TScalarType extends GraphQLScalarType
<unknown
, unknown
>
• type: TScalarType
GraphQLObjectType
<any
, any
>
packages/mikro-orm/src/operations.ts:533
static
QueryOrderType():GraphQLEnumType
GraphQLEnumType
packages/mikro-orm/src/operations.ts:512