<#C0A974TJ9|ktor> <#C0CG7E0A1|exposed> #dls Funct...
# server
a
#ktor #exposed #dls Function selectAll() create a sql query with name column quote . Ex. Products.selectAll() SELECT PRODUCTS.ID, PRODUCTS."NAME" FROM PRODUCTS "NAME" quotes are error.
l
name might be a reserved word in the dialect therefore the quotes. those quotes are perfectly legal SQL
a
Postgresql use name as reserved word?
l
looks like it is reserved but in postgresql dialect it is not: https://www.postgresql.org/docs/current/sql-keywords-appendix.html so, someone decided to quote reserved SQL keywords. but would that query end up in error because the quotes? unlikely.