Drizzle generates PG statement with parentheses on order by clause
Hello!
I'm trying to execute a simple query with Drizzle, but it generates an invalid SQL statement.
This is the generated SQL:
(error: syntax error at or near "desc" at character 113)
Looks like a parentheses is added on the order by clause. Am I doing something wrong?4 Replies
As a side note, the following works:
Have you tried not passing an array?
Yes. Same error.
That shouldn't happen, can you put together a minimal repro?