MCPcopy Index your code
hub / github.com/Effect-TS/effect / onCustom

Function onCustom

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

Source from the content-addressed store, hash-verified

483 ]
484 },
485 onCustom(type, placeholder) {
486 switch (type.kind) {
487 case "MssqlParam": {
488 return [placeholder(undefined), [type] as any]
489 }
490 }
491 },
492 onInsert(columns, placeholders, values, returning) {
493 const returningSql = returning ? returning[0] === "*" ? " OUTPUT INSERTED.*" : ` OUTPUT ${returning[0]}` : ""
494 return [

Callers

nothing calls this directly

Calls 1

placeholderFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…