MCPcopy
hub / github.com/sequelize/sequelize / quoteIdentifier

Method quoteIdentifier

src/dialects/db2/query-generator.js:894–896  ·  view source on GitHub ↗

* Quote identifier in sql clause * * @param {string} identifier * @param {boolean} force * * @returns {string}

(identifier, force)

Source from the content-addressed store, hash-verified

892 * @returns {string}
893 */
894 quoteIdentifier(identifier, force) {
895 return Utils.addTicks(Utils.removeTicks(identifier, '"'), '"');
896 }
897
898}
899

Callers 15

createSchemaMethod · 0.95
createTableQueryMethod · 0.95
addColumnQueryMethod · 0.95
removeColumnQueryMethod · 0.95
changeColumnQueryMethod · 0.95
renameColumnQueryMethod · 0.95
bulkInsertQueryMethod · 0.95
updateQueryMethod · 0.95
upsertQueryMethod · 0.95
getJoinSnippetMethod · 0.95
attributeToSQLMethod · 0.95
dropForeignKeyQueryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected