Thiago Felisberto
Thiago Felisberto
DTDrizzle Team
Created by Thiago Felisberto on 10/20/2023 in #help
Drizzle generates PG statement with parentheses on order by clause
Yes. Same error.
6 replies
DTDrizzle Team
Created by Thiago Felisberto on 10/20/2023 in #help
Drizzle generates PG statement with parentheses on order by clause
As a side note, the following works:
tx.query.messages.findMany({
where: eq(messages.conversationId, conversationId),
orderBy: [desc(messages.id)],
})
tx.query.messages.findMany({
where: eq(messages.conversationId, conversationId),
orderBy: [desc(messages.id)],
})
6 replies