naorm-sqlite
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -76,3 +76,3 @@ "use strict"; | ||
// If it's a regular SELECT statement, we can create a TEMP VIEW | ||
var stmt2 = this.db.prepare("CREATE TEMP VIEW ".concat(stmtId, " AS ") + stmt); | ||
var stmt2 = this.db.prepare("CREATE TEMP VIEW ".concat(stmtId, " AS ") + sql); | ||
stmt2.stepFinalize(); | ||
@@ -79,0 +79,0 @@ // Then get the PRAGMA info |
@@ -11,4 +11,4 @@ "use strict"; | ||
this.tokens = []; | ||
this.input = sqlString; | ||
this.inputLength = sqlString.length; | ||
this.input = sqlString.trim(); | ||
this.inputLength = this.input.length; | ||
} | ||
@@ -15,0 +15,0 @@ Lexer.prototype.getNextToken = function () { |
{ | ||
"name": "naorm-sqlite", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A Command-Line Interface that generates TypeScript code from SQLite files in your code base.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
131388
0