Comparing version 4.11.0 to 4.12.0-alpha.0
@@ -40,2 +40,4 @@ import { QueryConfig } from "pg"; | ||
export declare function value(val: any): SQLNode; | ||
declare const trueNode: SQLNode; | ||
declare const falseNode: SQLNode; | ||
declare const nullNode: SQLNode; | ||
@@ -54,2 +56,2 @@ /** | ||
export declare const blank: SQLQuery; | ||
export { query as fragment, nullNode as null }; | ||
export { query as fragment, nullNode as null, nullNode as NULL, trueNode as TRUE, falseNode as FALSE, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.null = exports.fragment = exports.blank = exports.escapeSqlIdentifier = exports.join = exports.literal = exports.value = exports.identifier = exports.raw = exports.query = exports.compile = void 0; | ||
exports.FALSE = exports.TRUE = exports.NULL = exports.null = exports.fragment = exports.blank = exports.escapeSqlIdentifier = exports.join = exports.literal = exports.value = exports.identifier = exports.raw = exports.query = exports.compile = void 0; | ||
const debugFactory = require("debug"); | ||
@@ -211,5 +211,8 @@ const lru_1 = require("@graphile/lru"); | ||
const trueNode = raw(`TRUE`); | ||
exports.TRUE = trueNode; | ||
const falseNode = raw(`FALSE`); | ||
exports.FALSE = falseNode; | ||
const nullNode = raw(`NULL`); | ||
exports.null = nullNode; | ||
exports.NULL = nullNode; | ||
/** | ||
@@ -216,0 +219,0 @@ * If the value is simple will inline it into the query, otherwise will defer |
{ | ||
"name": "pg-sql2", | ||
"version": "4.11.0", | ||
"version": "4.12.0-alpha.0", | ||
"description": "Generate safe Postgres-compliant SQL with tagged template literals", | ||
@@ -60,3 +60,3 @@ "main": "node8plus/index.js", | ||
}, | ||
"gitHead": "742133b9064cd64d61e45edc981261a036d56c7f" | ||
"gitHead": "2804d622e4ad199b9a1383683636c23fdf275259" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
30179
335
1