primer cambio
This commit is contained in:
15
node_modules/sequelize/lib/dialects/postgres/hstore.js
generated
vendored
Normal file
15
node_modules/sequelize/lib/dialects/postgres/hstore.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user