ModelMapping class
Model operation mapping.
- Annotations
- 
    - @JsonSerializable.new(createFactory: true, createToJson: true, explicitToJson: true)
 
Constructors
- ModelMapping({required String model, String? findUnique, String? findUniqueOrThrow, String? findFirst, String? findFirstOrThrow, String? findMany, String? create, String? createMany, String? update, String? updateMany, String? upsert, String? delete, String? deleteMany, String? aggregate, String? groupBy, String? findRaw, String? aggregateRaw})
- 
          Create a new model operation mapping.
            const
- 
          ModelMapping.fromJson(Map<String, dynamic> json)
- 
          Model operation mapping from JSON factory constructor.
            factory
Properties
- aggregate → String?
- 
  Aggregate operation
  final
- aggregateRaw → String?
- 
  Aggregate raw operation
  final
- create → String?
- 
  Create operation
  final
- createMany → String?
- 
  Create many operation
  final
- delete → String?
- 
  Delete operation
  final
- deleteMany → String?
- 
  Delete many operation
  final
- findFirst → String?
- 
  Find first operation
  final
- findFirstOrThrow → String?
- 
  Find first or throw operation
  final
- findMany → String?
- 
  Find many operation
  final
- findRaw → String?
- 
  Find raw operation
  final
- findUnique → String?
- 
  Find unique operation
  final
- findUniqueOrThrow → String?
- 
  Find unique or throw operation
  final
- groupBy → String?
- 
  Group by operation
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- model → String
- 
  Model name
  final
- 
  operations
  → List<String> 
- 
  Model operations.
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- update → String?
- 
  update operation
  final
- updateMany → String?
- 
  Update many operation
  final
- upsert → String?
- 
  Upsert operation
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- Model operation mapping as JSON map.
- 
  toString() → String 
- 
  A string representation of this object.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited