MCPcopy Create free account
hub / github.com/Effect-TS/effect / onDialect

Function onDialect

packages/effect/src/unstable/sql/Statement.ts:591–593  ·  view source on GitHub ↗
(options: Record<Dialect, any>)

Source from the content-addressed store, hash-verified

589 csv,
590 join,
591 onDialect(options: Record<Dialect, any>) {
592 return options[compiler.dialect]()
593 },
594 onDialectOrElse(options: any) {
595 return options[compiler.dialect] !== undefined ? options[compiler.dialect]() : options.orElse()
596 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected