canonical / canonical/sqlair

Selecting columns with keywords fails because insufficient quoting rules.

Open
#155 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
19
Forks
10
PR merge metrics
No merged PRs in 30d

Description

If you have a column called `index`, as index is a keyword, attempting to select based on that will fail because there are insufficient quoting rules for the column.

The work around is to alias the query with a view, or to list out each field and use AS in the list. Neither of which are ideal.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.