BinaryEngine class

Prisma branary engine.

Inheritance

Constructors

BinaryEngine({required String schema, required Datasources datasources, required PrismaClientOptions options})
Creates a new BinaryEngine.

Properties

datasources Datasources
finalinherited
hashCode int
The hash code for this object.
no setterinherited
options PrismaClientOptions
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
finalinherited

Methods

commitTransaction({required TransactionHeaders headers, required Transaction transaction}) Future<void>
Commits a transaction.
override
metrics({Map<String, String>? globalLabels, required MetricsFormat format}) Future
Returns the metrics for the engine.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(JsonQuery query, {TransactionHeaders? headers, Transaction? transaction}) Future<Map>
Sends a request to the engine.
override
rollbackTransaction({required TransactionHeaders headers, required Transaction transaction}) Future<void>
Rolls back a transaction.
override
start() Future<void>
Starts the engine.
override
startTransaction({required TransactionHeaders headers, int maxWait = 2000, int timeout = 5000, TransactionIsolationLevel? isolationLevel}) Future<Transaction>
Starts a transaction.
override
stop() Future<void>
Stops the engine.
override
toString() String
A string representation of this object.
inherited

Operators

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