sanitize string for ast::Literal

This commit is contained in:
pedrocarlo
2025-06-03 14:52:35 -03:00
parent 6bb10d4d45
commit acb8a47911
2 changed files with 8 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ impl ToSqlString for ast::OneSelect {
impl ToSqlString for ast::SelectInner {
fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String {
dbg!(&self);
let mut ret = Vec::with_capacity(2 + self.columns.len());
ret.push("SELECT".to_string());
if let Some(distinct) = self.distinctness {