API/api.medcify.app/node_modules/sequelize/lib/dialects/postgres/hstore.js

16 lines
355 B
JavaScript
Raw Normal View History

2022-09-26 06:11:44 +00:00
"use strict";
const hstore = require("pg-hstore")({ sanitize: true });
function stringify(data) {
if (data === null)
return null;
return hstore.stringify(data);
}
exports.stringify = stringify;
function parse(value) {
if (value === null)
return null;
return hstore.parse(value);
}
exports.parse = parse;
//# sourceMappingURL=hstore.js.map