UNPKG

@subql/x-sequelize

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.

15 lines (14 loc) 528 B
"use strict"; var __defProp = Object.defineProperty; var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); var __export = (target, all) => { __markAsModule(target); for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; __export(exports, { isStoreIndex: () => isStoreIndex }); const STORE_COLUMN_REGEX = /STORING\s*\(([^)]+)\)/; const isStoreIndex = (inputString) => Boolean(inputString.match(STORE_COLUMN_REGEX)); //# sourceMappingURL=cockroach-db.js.map