MCPcopy
hub / github.com/sequelize/sequelize / TSVECTOR

Class TSVECTOR

src/data-types.js:951–958  ·  view source on GitHub ↗

* The TSVECTOR type stores text search vectors. * * Only available for Postgres *

Source from the content-addressed store, hash-verified

949 *
950 */
951class TSVECTOR extends ABSTRACT {
952 validate(value) {
953 if (typeof value !== 'string') {
954 throw new sequelizeErrors.ValidationError(util.format('%j is not a valid string', value));
955 }
956 return true;
957 }
958}
959
960/**
961 * A convenience class holding commonly used data types. The data types are used when defining a new model using `Sequelize.define`, like this:

Callers 1

data-types.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected