UNPKG

sequelize-dm

Version:

Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.

111 lines (110 loc) 3.09 kB
var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __reExport = (target, module2, copyDefault, desc) => { if (module2 && typeof module2 === "object" || typeof module2 === "function") { for (let key of __getOwnPropNames(module2)) if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable }); } return target; }; var __toCommonJS = /* @__PURE__ */ ((cache) => { return (module2, temp) => { return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp); }; })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); var abstract_exports = {}; __export(abstract_exports, { AbstractDialect: () => AbstractDialect }); class AbstractDialect { static supports = { DEFAULT: true, "DEFAULT VALUES": false, "VALUES ()": false, "LIMIT ON UPDATE": false, "ON DUPLICATE KEY": true, "ORDER NULLS": false, UNION: true, "UNION ALL": true, "RIGHT JOIN": true, EXCEPTION: false, lock: false, lockOf: false, lockKey: false, lockOuterJoinFailure: false, skipLocked: false, finalTable: false, returnValues: false, autoIncrement: { identityInsert: false, defaultValue: true, update: true }, bulkDefault: false, schemas: false, transactions: true, settingIsolationLevelDuringTransaction: true, transactionOptions: { type: false }, migrations: true, upserts: true, inserts: { ignoreDuplicates: "", updateOnDuplicate: false, onConflictDoNothing: "", conflictFields: false }, constraints: { restrict: true, addConstraint: true, dropConstraint: true, unique: true, default: false, check: true, foreignKey: true, primaryKey: true }, index: { collate: true, length: false, parser: false, concurrently: false, type: false, using: true, functionBased: false, operator: false, where: false }, groupedLimit: true, indexViaAlter: false, JSON: false, JSONB: false, NUMERIC: false, ARRAY: false, RANGE: false, GEOMETRY: false, REGEXP: false, GEOGRAPHY: false, HSTORE: false, TSVECTOR: false, deferrableConstraints: false, tmpTableTrigger: false, indexHints: false, searchPath: false }; get supports() { const Dialect = this.constructor; return Dialect.supports; } } module.exports = __toCommonJS(abstract_exports); //# sourceMappingURL=index.js.map