Skip to content

Commit

Permalink
Update crates/query-engine/sql/src/sql/string.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey authored Nov 7, 2023
1 parent 907d0f3 commit 2f4cd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/query-engine/sql/src/sql/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl SQL {
self.sql.push_str(sql);
}
/// Append a SQL identifier like a column or a table name, which will be
/// inserted surrounded by quotes
/// inserted surrounded by square brackets
pub fn append_identifier(&mut self, sql: &String) {
// todo: sanitize
self.sql.push_str(format!("[{}]", sql).as_str());
Expand Down

0 comments on commit 2f4cd7b

Please sign in to comment.