* An unlimited length case-insensitive text column. * Original case is preserved but acts case-insensitive when comparing values (such as when finding or unique constraints). * Only available in Postgres and SQLite. *
| 148 | * |
| 149 | */ |
| 150 | class CITEXT extends ABSTRACT { |
| 151 | toSql() { |
| 152 | return 'CITEXT'; |
| 153 | } |
| 154 | validate(value) { |
| 155 | if (typeof value !== 'string') { |
| 156 | throw new sequelizeErrors.ValidationError(util.format('%j is not a valid string', value)); |
| 157 | } |
| 158 | return true; |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | /** |
| 163 | * Base number type which is used to build other types |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…