sqljson-query
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -77,6 +77,7 @@ "use strict"; | ||
} | ||
parts.push("\n\n public static class TableNames {"); | ||
parts.push("\n //////////////// Table names ////////////////"); | ||
parts.push(" public static class TableNames {"); | ||
for (const relMd of relMds) { | ||
const relName = ident(relMd.relationId.name, dbmd.caseSensitivity, preferLowercaseNames); | ||
parts.push(` public static final String ${relNameJavaIdentifier(relName)} = "${(0, mod_1.escapeDoubleQuotes)(relName)};"`); | ||
parts.push(` public static final String ${relNameJavaIdentifier(relName)} = "${(0, mod_1.escapeDoubleQuotes)(relName)}";`); | ||
} | ||
@@ -83,0 +84,0 @@ parts.push(" }\n\n"); |
{ | ||
"name": "sqljson-query", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Command line tool to generate SQL/JSON SQL queries and result types for Typescript or Java.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -113,3 +113,4 @@ import * as path from 'path'; | ||
parts.push("\n\n public static class TableNames {"); | ||
parts.push("\n //////////////// Table names ////////////////"); | ||
parts.push(" public static class TableNames {"); | ||
for (const relMd of relMds) | ||
@@ -119,3 +120,3 @@ { | ||
parts.push( | ||
` public static final String ${relNameJavaIdentifier(relName)} = "${escapeDoubleQuotes(relName)};"`, | ||
` public static final String ${relNameJavaIdentifier(relName)} = "${escapeDoubleQuotes(relName)}";`, | ||
); | ||
@@ -122,0 +123,0 @@ } |
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
630961
11991