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

Inserts with asTable fail when column names are SQL reserved words #54

Open
jbreadner opened this issue May 18, 2016 · 0 comments
Open

Comments

@jbreadner
Copy link

I was attempting to insert data with asTable, where one field was named 'from'. The auto-generated SQL does not escape the field names, and this extra 'from' caused the SQL to fail.

Changing src/sql/buildTableVar.sql to the content attached fixes this problem.
buildTableVar.sql.txt

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

No branches or pull requests

1 participant