* The TSVECTOR type stores text search vectors. * * Only available for Postgres *
| 949 | * |
| 950 | */ |
| 951 | class 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: |