BasePrismaClient<Client extends BasePrismaClient<Client> > class
abstract
Base prisma client
Constructors
-
BasePrismaClient({String? datasourceUrl, Map<
String, String> ? datasources, ErrorFormat errorFormat = ErrorFormat.colorless, LogDefinition? log})
Properties
- $datamodel → DataModel
-
no setter
- $engine → Engine
-
Returns the Engine instance typeof
E
.no setter - $metrics → MetricsClient
-
no setter
- $options → PrismaClientOptions
-
Prisma client options
no setter
-
$raw
→ RawClient<
Client> -
no setter
-
$transaction
→ TransactionClient<
Client> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$connect(
) → Future< void> -
$disconnect(
) → Future< void> -
$on(
LogLevel level, void listener(EngineEvent event)) → void -
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