MCPcopy
hub / github.com/sequelize/sequelize / HSTORE

Class HSTORE

lib/data-types.js:509–516  ·  view source on GitHub ↗

* A key / value store column. Only available in Postgres.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…