@graphql-mesh/transport-mysql
Version:
9 lines (8 loc) • 347 B
TypeScript
import type { GraphQLSchema } from 'graphql';
import { type Pool } from 'mysql';
import type { DisposableExecutor } from '@graphql-mesh/transport-common';
export interface GetMySQLExecutorOpts {
subgraph: GraphQLSchema;
pool?: Pool;
}
export declare function getMySQLExecutor({ subgraph, pool }: GetMySQLExecutorOpts): DisposableExecutor;