MCPcopy
hub / github.com/drizzle-team/drizzle-orm / isPool

Function isPool

drizzle-orm/src/mysql2/session.ts:352–354  ·  view source on GitHub ↗
(client: MySql2Client)

Source from the content-addressed store, hash-verified

350}
351
352function isPool(client: MySql2Client): client is Pool {
353 return 'getConnection' in client;
354}
355
356export interface MySql2QueryResultHKT extends MySqlQueryResultHKT {
357 type: MySqlRawQueryResult;

Callers 2

iteratorMethod · 0.70
transactionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected