sql icon indicating copy to clipboard operation
sql copied to clipboard

(.* table) emits incorrect SQL statement

Open xh4 opened this issue 3 years ago • 0 comments
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.

xh4 avatar Mar 11 '22 02:03 xh4