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

Function addTicks

src/dialects/dialect-options.ts:83–85  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

81}
82
83export function addTicks(value: any) {
84 return Utils.addTicks(value, "'");
85}
86
87export function makeCondition(columnName: string, value?: string) {
88 return value ? ` AND ${columnName} = ${addTicks(value)} ` : "";

Callers 5

mysql.tsFile · 0.90
sqlite.tsFile · 0.90
mssql.tsFile · 0.90
postgres.tsFile · 0.90
makeConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected