MCPcopy
hub / github.com/sequelize/sequelize / _prefixKey

Method _prefixKey

lib/dialects/abstract/query-generator.js:2584–2594  ·  view source on GitHub ↗
(key, prefix)

Source from the content-addressed store, hash-verified

2582 }
2583
2584 _prefixKey(key, prefix) {
2585 if (prefix) {
2586 if (prefix instanceof Utils.Literal) {
2587 return [this.handleSequelizeMethod(prefix), key].join('.');
2588 }
2589
2590 return [this.quoteTable(prefix), key].join('.');
2591 }
2592
2593 return key;
2594 }
2595
2596 _whereParseSingleValueObject(key, field, prop, value, options) {
2597 if (prop === Op.not) {

Callers 1

_getSafeKeyMethod · 0.95

Calls 2

handleSequelizeMethodMethod · 0.95
quoteTableMethod · 0.95

Tested by

no test coverage detected