pg-introspection
Advanced tools
Comparing version 0.0.1-beta.6 to 0.0.1-beta.7
# pg-introspection | ||
## 0.0.1-beta.7 | ||
### Patch Changes | ||
- [#1943](https://github.com/graphile/crystal/pull/1943) | ||
[`46d8289b4`](https://github.com/graphile/crystal/commit/46d8289b44ab10aea1ff3d2915184650d6896b81) | ||
Thanks [@benjie](https://github.com/benjie)! - `pg-introspection` now exports | ||
`reservedWords` which are a list of reserved keywords in PostgreSQL (in | ||
uppercase; though SQL is case insensitive). | ||
## 0.0.1-beta.6 | ||
@@ -4,0 +14,0 @@ |
@@ -6,2 +6,3 @@ import type { Introspection, PgAttribute, PgAuthMembers, PgClass, PgConstraint, PgDatabase, PgDepend, PgDescription, PgEnum, PgExtension, PgIndex, PgInherits, PgLanguage, PgNamespace, PgProc, PgProcArgument, PgRange, PgRoles, PgType } from "./introspection.js"; | ||
import type { PgSmartTagsAndDescription, PgSmartTagsDict } from "./smartComments.js"; | ||
export { default as reservedWords } from "./reservedWords.js"; | ||
export { parseSmartComment } from "./smartComments.js"; | ||
@@ -8,0 +9,0 @@ export { Introspection, PgAttribute, PgAuthMembers, PgClass, PgConstraint, PgDatabase, PgDepend, PgDescription, PgEnum, PgExtension, PgIndex, PgInherits, PgLanguage, PgNamespace, PgProc, PgProcArgument, PgRange, PgRoles, PgType, }; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseIntrospectionResults = exports.resolvePermissions = exports.expandRoles = exports.entityPermissions = exports.aclContainsRole = exports.parseSmartComment = exports.makeIntrospectionQuery = void 0; | ||
exports.parseIntrospectionResults = exports.resolvePermissions = exports.expandRoles = exports.entityPermissions = exports.aclContainsRole = exports.parseSmartComment = exports.reservedWords = exports.makeIntrospectionQuery = void 0; | ||
var introspection_js_1 = require("./introspection.js"); | ||
@@ -12,2 +15,4 @@ Object.defineProperty(exports, "makeIntrospectionQuery", { enumerable: true, get: function () { return introspection_js_1.makeIntrospectionQuery; } }); | ||
const augmentIntrospection_js_1 = require("./augmentIntrospection.js"); | ||
var reservedWords_js_1 = require("./reservedWords.js"); | ||
Object.defineProperty(exports, "reservedWords", { enumerable: true, get: function () { return __importDefault(reservedWords_js_1).default; } }); | ||
var smartComments_js_1 = require("./smartComments.js"); | ||
@@ -14,0 +19,0 @@ Object.defineProperty(exports, "parseSmartComment", { enumerable: true, get: function () { return smartComments_js_1.parseSmartComment; } }); |
{ | ||
"name": "pg-introspection", | ||
"version": "0.0.1-beta.6", | ||
"version": "0.0.1-beta.7", | ||
"description": "Strongly typed PostgreSQL introspection library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -61,3 +61,3 @@ # pg-introspection | ||
const { rows } = await pool.query(sql); | ||
const introspection = parseIntrospectionResults(row[0].introspection); | ||
const introspection = parseIntrospectionResults(rows[0].introspection); | ||
@@ -64,0 +64,0 @@ console.log( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195739
2961