MCPcopy
hub / github.com/sequelize/sequelize / wrapSingleQuote

Function wrapSingleQuote

lib/dialects/db2/query-generator.js:891–897  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

889
890// private methods
891function wrapSingleQuote(identifier) {
892 if (identifier) {
893 return `'${ identifier }'`;
894 //return Utils.addTicks("'"); // It removes quote from center too.
895 }
896 return '';
897}
898
899module.exports = Db2QueryGenerator;

Callers 6

dropSchemaMethod · 0.70
describeTableQueryMethod · 0.70
showIndexesQueryMethod · 0.70
getForeignKeysQueryMethod · 0.70
getForeignKeyQueryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected