* 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)
| 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. |
no outgoing calls
no test coverage detected