ModelMapping constructor
const
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.
Implementation
const ModelMapping({
required this.model,
this.findUnique,
this.findUniqueOrThrow,
this.findFirst,
this.findFirstOrThrow,
this.findMany,
this.create,
this.createMany,
this.update,
this.updateMany,
this.upsert,
this.delete,
this.deleteMany,
this.aggregate,
this.groupBy,
this.findRaw,
this.aggregateRaw,
});