MCPcopy
hub / github.com/sequelize/sequelize / col

Method col

src/sequelize.js:1032–1034  ·  view source on GitHub ↗

* Creates an object which represents a column in the DB, this allows referencing another column in your query. This is often useful in conjunction with `sequelize.fn`, since raw string arguments to fn will be escaped. * * @see * Sequelize#fn * * @param {string} col The name of

(col)

Source from the content-addressed store, hash-verified

1030 * @returns {Sequelize.col}
1031 */
1032 static col(col) {
1033 return new Utils.Col(col);
1034 }
1035
1036 /**
1037 * Creates an object representing a call to the cast function.

Callers 15

model.test.jsFile · 0.80
include.test.jsFile · 0.80
has-many.test.jsFile · 0.80
scope.test.jsFile · 0.80
findAll.test.jsFile · 0.80
group.test.jsFile · 0.80
findAll.test.jsFile · 0.80
save.test.jsFile · 0.80
values.test.jsFile · 0.80
include.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected