MCPcopy
hub / github.com/sequelize/sequelize / validate

Method validate

lib/dialects/postgres/data-types.js:164–169  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

162 return 'TIMESTAMP WITH TIME ZONE';
163 }
164 validate(value) {
165 if (value !== Infinity && value !== -Infinity) {
166 return super.validate(value);
167 }
168 return true;
169 }
170 _stringify(value, options) {
171 if (value === Infinity) {
172 return 'Infinity';

Callers

nothing calls this directly

Calls 1

validateMethod · 0.65

Tested by

no test coverage detected