Skip to content
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

Escape single quotes in column names #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kyletolle
Copy link

Fixes the error reported in Issue #25. Includes a test to show the original error and demonstrate the code added is the fix.

I tried to escape the column name with a backslash like the Google docs linked to above stated, but that resulted in a weird behavior. A column with the name L'text seemed to be turned into Ltexttext, instead of L\'text.

If I I used two single quotes instead, things seem to work just as expected. So that's the approach I've taken here.

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.

1 participant