MCPcopy
hub / github.com/sequelize/sequelize / cast

Method cast

lib/sequelize.js:964–966  ·  lib/sequelize.js::Sequelize.cast

* Creates an object representing a call to the cast function. * * @param {any} val The value to cast * @param {string} type The type to cast it to * @since v2.0.0-dev3 * @memberof Sequelize * * @returns {Sequelize.cast}

(val, type)

Source from the content-addressed store, hash-verified

962 * @returns {Sequelize.cast}
963 */
964 static cast(val, type) {
965 return new Utils.Cast(val, type);
966 }
967
968 /**
969 * Creates an object representing a literal, i.e. something that will not be escaped.

Callers 7

where.tsFile · 0.80
sequelize.tsFile · 0.80
utils.test.jsFile · 0.80
model.test.jsFile · 0.80
create.test.jsFile · 0.80
utils.test.jsFile · 0.80
where.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected