go-rel / rel

:gem: Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
https://go-rel.github.io/
MIT License
744 stars 58 forks source link

Alias issue #368

Closed fairking closed 2 months ago

fairking commented 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.

The right solution would be: SELECTc.id,c.nameFROMcontacts`c;`

fairking commented 2 months ago

Duplicate: https://github.com/go-rel/sql/issues/69