Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix 5501 insert object escaped column #5503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

griffio
Copy link
Contributor

@griffio griffio commented Oct 5, 2024

fix #5501

  • Update to use it.node.text as this has access to the dialect escape character
  • Add compiler query test

@griffio griffio changed the title Fixes 5501 insert object escaped column Fix 5501 insert object escaped column Oct 5, 2024
use node text to escape column name
Check that compiled query interface outputs escaped column
@griffio griffio force-pushed the fix-5501-insert-object-escaped-column branch from d282bb4 to c76fda8 Compare January 6, 2025 14:46
@JakeWharton JakeWharton enabled auto-merge (squash) January 6, 2025 14:51
@JakeWharton JakeWharton merged commit 131e5a6 into sqldelight:master Jan 6, 2025
12 checks passed
@griffio griffio deleted the fix-5501-insert-object-escaped-column branch January 6, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Insert object query generates incorrect code for table with properly escaped reserved word column name
2 participants