PrismaClient.fromEngine constructor
PrismaClient.fromEngine(
- Engine $engine, {
- QueryEngineRequestHeaders? headers,
Create a new prisma client for the given engine.
Implementation
PrismaClient.fromEngine(this.$engine, {QueryEngineRequestHeaders? headers})
: $headers = headers {
finalizer.attach(this, $engine, detach: this);
}