Skip to content

Commit

Permalink
add adapterName
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Jun 6, 2024
1 parent c3425cf commit f7e6f10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tidbcloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
fieldToColumnType,
customDecoder,
} from "./conversion";
import { name as packageName } from '../package.json'

const debug = Debug("prisma:driver-adapter:tidbcloud");

Expand All @@ -35,6 +36,7 @@ class TiDBCloudQueryable<ClientT extends TiDBCloud.Connection | TiDBCloud.Tx>
implements Queryable
{
readonly provider = "mysql";
readonly adapterName = packageName;
constructor(protected client: ClientT) {}

/**
Expand Down

0 comments on commit f7e6f10

Please sign in to comment.