MCPcopy
hub / github.com/sequelize/sequelize-auto / makeCondition

Function makeCondition

src/dialects/dialect-options.ts:87–89  ·  view source on GitHub ↗
(columnName: string, value?: string)

Source from the content-addressed store, hash-verified

85}
86
87export function makeCondition(columnName: string, value?: string) {
88 return value ? ` AND ${columnName} = ${addTicks(value)} ` : "";
89}

Callers 3

mysql.tsFile · 0.90
mssql.tsFile · 0.90
postgres.tsFile · 0.90

Calls 1

addTicksFunction · 0.85

Tested by

no test coverage detected