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

sqljson-query

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqljson-query - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

10

lib/sql-dialects.js

@@ -39,3 +39,3 @@ "use strict";

return ("json_object(\n" +
mod_1.indentLines(objectFieldDecls, this.indentSpaces) + " returning clob\n" +
mod_1.indentLines(objectFieldDecls + "\nreturning clob", this.indentSpaces) + "\n" +
")");

@@ -46,4 +46,4 @@ }

this.getRowObjectExpression(columnNames, srcAlias) +
(orderBy != null ? " order by " + orderBy.replace(/\$\$/g, srcAlias) : "") +
" returning clob" +
(orderBy != null ? " order by " + orderBy.replace(/\$\$/g, srcAlias) : "") + "\n" +
" returning clob" +
"), to_clob('[]')) as json)");

@@ -53,4 +53,4 @@ }

return (`treat(coalesce(json_arrayagg(${srcAlias}.${columnName}` +
(orderBy != null ? ` order by ${orderBy.replace(/\$\$/g, srcAlias)}` : "") +
" returning clob" +
(orderBy != null ? ` order by ${orderBy.replace(/\$\$/g, srcAlias)}` : "") + "\n" +
" returning clob" +
"), to_clob('[]')) as json)");

@@ -57,0 +57,0 @@ }

{
"name": "sqljson-query",
"version": "1.3.6",
"version": "1.3.7",
"description": "Command line tool to generate SQL/JSON queries and Typescript types for query results.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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