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

Method bindParam

lib/dialects/abstract/query-generator.js:1037–1042  ·  view source on GitHub ↗
(bind)

Source from the content-addressed store, hash-verified

1035 }
1036
1037 bindParam(bind) {
1038 return value => {
1039 bind.push(value);
1040 return `$${bind.length}`;
1041 };
1042 }
1043
1044 /*
1045 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