Closed fairking closed 2 months ago
The following builder: rel.Select("c.id", "c.name").From("contacts c") gives the following result SELECTc.id,c.nameFROMcontacts c; which is wrong.
rel.Select("c.id", "c.name").From("contacts c")
SELECT
.
,
FROM
;
The right solution would be: SELECTc.id,c.nameFROMcontacts`c;`
`c
Duplicate: https://github.com/go-rel/sql/issues/69
The following builder:
rel.Select("c.id", "c.name").From("contacts c")
gives the following resultSELECT
c.
id,
c.
nameFROM
contacts c;
which is wrong.The right solution would be:
SELECT
c.
id,
c.
nameFROM
contacts`c
;`