primer cambio
This commit is contained in:
21
node_modules/sequelize/lib/dialects/parserStore.js
generated
vendored
Normal file
21
node_modules/sequelize/lib/dialects/parserStore.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
const stores = /* @__PURE__ */ new Map();
|
||||
module.exports = (dialect) => {
|
||||
if (!stores.has(dialect)) {
|
||||
stores.set(dialect, /* @__PURE__ */ new Map());
|
||||
}
|
||||
return {
|
||||
clear() {
|
||||
stores.get(dialect).clear();
|
||||
},
|
||||
refresh(dataType) {
|
||||
for (const type of dataType.types[dialect]) {
|
||||
stores.get(dialect).set(type, dataType.parse);
|
||||
}
|
||||
},
|
||||
get(type) {
|
||||
return stores.get(dialect).get(type);
|
||||
}
|
||||
};
|
||||
};
|
||||
//# sourceMappingURL=parserStore.js.map
|
||||
Reference in New Issue
Block a user