MCPcopy Index your code
hub / github.com/sequelize/sequelize / aliasGrouping

Method aliasGrouping

src/dialects/abstract/query-generator.js:1585–1589  ·  view source on GitHub ↗
(field, model, tableName, options)

Source from the content-addressed store, hash-verified

1583 }
1584
1585 aliasGrouping(field, model, tableName, options) {
1586 const src = Array.isArray(field) ? field[0] : field;
1587
1588 return this.quote(this._getAliasForField(tableName, src, options) || src, model);
1589 }
1590
1591 escapeAttributes(attributes, options, mainTableAs) {
1592 return attributes && attributes.map(attr => {

Callers 1

selectQueryMethod · 0.95

Calls 2

quoteMethod · 0.95
_getAliasForFieldMethod · 0.95

Tested by

no test coverage detected