From bab2bc6558b9c8d6b7b6dfa08ff069dc17cfb6f7 Mon Sep 17 00:00:00 2001 From: Jason Shin Date: Sat, 13 Jul 2024 18:48:22 +1000 Subject: [PATCH] wip --- .../sql_parser/expressions/translate_table_with_joins.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ts_generator/sql_parser/expressions/translate_table_with_joins.rs b/src/ts_generator/sql_parser/expressions/translate_table_with_joins.rs index b88cb1a0..43af9090 100644 --- a/src/ts_generator/sql_parser/expressions/translate_table_with_joins.rs +++ b/src/ts_generator/sql_parser/expressions/translate_table_with_joins.rs @@ -1,5 +1,4 @@ use crate::common::table_name::TrimQuotes; -use crate::common::table_name::TrimQuotes; use openssl::x509; use sqlparser::ast::{Assignment, Expr, Join, SelectItem, TableFactor, TableWithJoins}; @@ -30,7 +29,6 @@ pub fn find_table_name_from_identifier( ) -> Option { let left = identifiers .first() - .map(|x| x.trim_table_name(quote_style)) .expect("The first identifier must exist in order to find the table name") .to_owned(); let right = identifiers.get(1);