ModelAction enum
@see https://github.com/prisma/prisma/blob/main/packages/generator-helper/src/dmmf.ts#L241 Model Action
Values
- findUnique → const ModelAction
- findUniqueOrThrow → const ModelAction
- findFirst → const ModelAction
- findFirstOrThrow → const ModelAction
- findMany → const ModelAction
- create → const ModelAction
- createMany → const ModelAction
- update → const ModelAction
- updateMany → const ModelAction
- upsert → const ModelAction
- delete → const ModelAction
- deleteMany → const ModelAction
- groupBy → const ModelAction
- count → const ModelAction
- aggregate → const ModelAction
- findRaw → const ModelAction
- aggregateRaw → const ModelAction
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
protocolName(
ModelMapping mapping) → String? - Read model action protocol name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
protocolNamesMap(
ModelMapping mapping) → Map< String, String> - Generate model action protocol name map.
Constants
-
values
→ const List<
ModelAction> - A constant List of the values in this enum, in order of their declaration.