PrismaClientOptions class

Constructors

PrismaClientOptions({String? datasourceUrl, Map<String, String>? datasources, required ErrorFormat errorFormat, required LogEmitter logEmitter})
Create Prisma client options

Properties

datasources Map<String, String>?
Overwrites the datasource url from your schema.prisma file
final
datasourceUrl String?
Overwrites the primary datasource url from your schema.prisma file
final
errorFormat ErrorFormat
Determines the level and formatting of errors returned by Prisma Client.
final
hashCode int
The hash code for this object.
no setterinherited
logEmitter LogEmitter
Log emitter.
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited