@@ -6,7 +6,7 @@ describe("Example Sql Parsing", () => {
6
6
it ( "Run Parser Sqlite Ex" , async ( ) => {
7
7
const filePath = "examples/chinook-database-2.0.1_sqlite.sql" ;
8
8
// load sql
9
- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
9
+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
10
10
// console.log(sql);
11
11
12
12
// run parser
@@ -36,7 +36,7 @@ describe("Example Sql Parsing", () => {
36
36
it ( "Run Parser mysql Ex" , async ( ) => {
37
37
const filePath = "examples/adventureworks_mysql.sql" ;
38
38
// load sql
39
- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
39
+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
40
40
// console.log(sql);
41
41
42
42
// run parser
@@ -67,7 +67,7 @@ describe("Example Sql Parsing", () => {
67
67
it ( "Run Parser postgres Ex" , async ( ) => {
68
68
const filePath = "examples/adventureworks_pg.sql" ;
69
69
// load sql
70
- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
70
+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
71
71
// console.log(sql);
72
72
73
73
// run parser
@@ -98,7 +98,7 @@ describe("Example Sql Parsing", () => {
98
98
it ( "Run Parser sqlserver Ex" , async ( ) => {
99
99
const filePath = "examples/adventureworks_mssql.sql" ;
100
100
// load sql
101
- var sql = await fs . readFileSync ( filePath , "utf8" ) ;
101
+ const sql = await fs . readFileSync ( filePath , "utf8" ) ;
102
102
// console.log(sql);
103
103
104
104
// run parser
@@ -129,7 +129,7 @@ describe("Example Sql Parsing", () => {
129
129
130
130
it ( "Run Parser mssql simple" , async ( ) => {
131
131
// load sql
132
- var sql = `CREATE TABLE Persons
132
+ const sql = `CREATE TABLE Persons
133
133
(
134
134
PersonID int NOT NULL,
135
135
LastName varchar(255),
@@ -175,7 +175,7 @@ describe("Example Sql Parsing", () => {
175
175
176
176
it ( "Run Parser postgres simple" , async ( ) => {
177
177
// load sql
178
- var sql = `CREATE TABLE "humanresources_department" (
178
+ const sql = `CREATE TABLE "humanresources_department" (
179
179
"departmentid" serial NOT NULL,
180
180
"name" Name NOT NULL,
181
181
"groupname" Name NOT NULL,
0 commit comments