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

Function onCustom

packages/sql/mssql/src/MssqlClient.ts:683–689  ·  view source on GitHub ↗
(type, placeholder)

Source from the content-addressed store, hash-verified

681 ]
682 },
683 onCustom(type, placeholder) {
684 switch (type.kind) {
685 case "MssqlParam": {
686 return [placeholder(undefined), [type] as any]
687 }
688 }
689 },
690 onInsert(columns, placeholders, values, returning) {
691 const returningSql = returning ? returning[0] === "*" ? " OUTPUT INSERTED.*" : ` OUTPUT ${returning[0]}` : ""
692 return [

Callers

nothing calls this directly

Calls 1

placeholderFunction · 0.70

Tested by

no test coverage detected