ModelAction enum

Inheritance
Available extensions

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.