PrismaClientOptions constructor
PrismaClientOptions({
- String? datasourceUrl,
- Map<
String, String> ? datasources, - required ErrorFormat errorFormat,
- required LogEmitter logEmitter,
Create Prisma client options
Implementation
PrismaClientOptions({
this.datasourceUrl,
this.datasources,
required this.errorFormat,
required this.logEmitter,
}) : assert(!(datasourceUrl != null && datasources != null),
'DatasourceUrl and datasources cannot be used together');