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

Method _prefixKey

src/dialects/abstract/query-generator.js:2769–2779  ·  view source on GitHub ↗
(key, prefix)

Source from the content-addressed store, hash-verified

2767 }
2768
2769 _prefixKey(key, prefix) {
2770 if (prefix) {
2771 if (prefix instanceof Utils.Literal) {
2772 return [this.handleSequelizeMethod(prefix), key].join('.');
2773 }
2774
2775 return [this.quoteTable(prefix), key].join('.');
2776 }
2777
2778 return key;
2779 }
2780
2781 _whereParseSingleValueObject(key, field, prop, value, options) {
2782 if (prop === Op.not) {

Callers 1

_getSafeKeyMethod · 0.95

Calls 2

handleSequelizeMethodMethod · 0.95
quoteTableMethod · 0.95

Tested by

no test coverage detected