MCPcopy
hub / github.com/prisma/prisma / defineTypedSqlConfig

Function defineTypedSqlConfig

packages/config/src/defineConfig.ts:115–122  ·  view source on GitHub ↗

* `configInput.typedSql` is forwarded to `config.typedSql` as is.

(config: DeepMutable<PrismaConfigInternal>, configInput: PrismaConfig)

Source from the content-addressed store, hash-verified

113 * `configInput.typedSql` is forwarded to `config.typedSql` as is.
114 */
115function defineTypedSqlConfig(config: DeepMutable<PrismaConfigInternal>, configInput: PrismaConfig) {
116 if (!configInput.typedSql) {
117 return
118 }
119
120 config.typedSql = configInput.typedSql
121 debug('[config.typedSql]: %o', config.typedSql)
122}
123
124/**
125 * `configInput.views` is forwarded to `config.views` as is.

Callers 1

defineConfigFunction · 0.85

Calls 1

debugFunction · 0.85

Tested by

no test coverage detected