Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
QueryCompiler.ts1.11 kB
import type { BatchResponse } from '@prisma/client-engine-runtime' import { ConnectionInfo, Provider } from '@prisma/driver-adapter-utils' export type QueryCompiler = { compile(request: string): {} compileBatch(batchRequest: string): BatchResponse free(): void } export type QueryCompilerOptions = { datamodel: string provider: Provider connectionInfo: ConnectionInfo } export interface QueryCompilerConstructor { new (options: QueryCompilerOptions): QueryCompiler } export type CompilerWasmLoadingConfig = { /** * WASM-bindgen runtime for corresponding module */ getRuntime: () => Promise<{ __wbg_set_wasm(exports: unknown): void QueryCompiler: QueryCompilerConstructor }> /** * Loads the raw wasm module for the wasm compiler engine. This configuration is * generated specifically for each type of client, eg. Node.js client and Edge * clients will have different implementations. * @remarks this is a callback on purpose, we only load the wasm if needed. * @remarks only used by ClientEngine */ getQueryCompilerWasmModule: () => Promise<unknown> }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server