Skip to content

Comments

fix: missing escape column name for SQL query clauses#169

Merged
lex148 merged 2 commits intoweldsorm:mainfrom
SilentVoid13:fix-escape
Jan 10, 2026
Merged

fix: missing escape column name for SQL query clauses#169
lex148 merged 2 commits intoweldsorm:mainfrom
SilentVoid13:fix-escape

Conversation

@SilentVoid13
Copy link
Contributor

In my database I had a column named order (reserved keyword). This caused all queries involving it to fail.

This PR:

  • escapes column names in query clauses using ColumnWriter and excape as was the case in other places.
  • updates the existing test to reflect the new escape.

Hopefully I did not miss any non-escaped column names.
With this PR merged + sync I should be able to fully use welds with my existing db!

@lex148
Copy link
Contributor

lex148 commented Jan 10, 2026

Very nice! I have been testing this and all looks good. merged

@lex148 lex148 merged commit 5d7f747 into weldsorm:main Jan 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants