sql
sql copied to clipboard
(.* table) emits incorrect SQL statement
trafficstars
Hi
I found the field selection notation under the mysql dialect produces incorrect SQL statements.
For example
(parameterize ((current-sql-dialect 'mysql))
(sql-statement->string (select (.* user) #:from user)))
produces
SELECT (user).* FROM user
which is invalid.