* 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)
| 1044 | * @returns {Sequelize.cast} |
| 1045 | */ |
| 1046 | static cast(val, type) { |
| 1047 | return new Utils.Cast(val, type); |
| 1048 | } |
| 1049 | |
| 1050 | /** |
| 1051 | * Creates an object representing a literal, i.e. something that will not be escaped. |
no outgoing calls
no test coverage detected