Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sql-query

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-query - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

2

lib/Dialects/postgresql.js

@@ -12,3 +12,3 @@ exports.escapeId = function () {

}
return "\"" + el.replace(/\"/g, "\"\"") + "\"";
return el.split(".").map(function (ele) { return "\"" + ele.replace(/\"/g, "\"\"") + "\""; }).join(".");
}).join(".");

@@ -15,0 +15,0 @@ };

@@ -9,3 +9,3 @@ {

],
"version": "0.0.21",
"version": "0.0.22",
"license": "MIT",

@@ -12,0 +12,0 @@ "repository": {

@@ -21,2 +21,7 @@ var common = require('../common');

assert.equal(
dialect.escapeId('schema.table', 'col'),
'"schema"."table"."col"'
);
assert.equal(
dialect.escapeVal(undefined),

@@ -23,0 +28,0 @@ 'NULL'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc