* A key / value store column. Only available in Postgres.
| 509 | * A key / value store column. Only available in Postgres. |
| 510 | */ |
| 511 | class HSTORE extends ABSTRACT { |
| 512 | validate(value) { |
| 513 | if (!_.isPlainObject(value)) { |
| 514 | throw new sequelizeErrors.ValidationError(util.format('%j is not a valid hstore', value)); |
| 515 | } |
| 516 | return true; |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | /** |
| 521 | * A JSON string column. Available in MySQL, Postgres and SQLite |
nothing calls this directly
no outgoing calls
no test coverage detected