MCPcopy
hub / github.com/sequelize/sequelize / bindParam

Method bindParam

src/dialects/abstract/query-generator.js:1160–1165  ·  view source on GitHub ↗
(bind)

Source from the content-addressed store, hash-verified

1158 }
1159
1160 bindParam(bind) {
1161 return value => {
1162 bind.push(value);
1163 return `$${bind.length}`;
1164 };
1165 }
1166
1167 /*
1168 Returns a bind parameter representation of a value (e.g. a string, number or date)

Callers 3

insertQueryMethod · 0.95
updateQueryMethod · 0.95
formatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected