sqljson-query
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -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
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
474335