Use COALESCE in index
How can I generate this sql:
When I use the following schema definition:
The comma in COALESCE get escaped:
3 Replies
Hey @mutex! Try to wrap into parentheses:
Thank you, that did not change anything, I can see from the json snapshot file that it is correct, so this seems like a bug in the generator in drizzle-kit
got it, I will reproduce and make issue for this case. thank you!