irelynx
DTDrizzle Team
•Created by irelynx on 1/15/2024 in #help
Weird Query builder behavior (extras)
Hello! I have experiencing weird situation while using Drizzle query builder.
My code is the following:
The question is: why Drizzle generates different query, replacing table name in some cases?
Maybe i am doing something wrong?
Thanks in advance!
(drizzle-orm: 0.29.3, node 20)
24 replies
DTDrizzle Team
•Created by irelynx on 9/10/2023 in #help
How to add custom SQL queries during or after migration in drizzle schema?
Hi all. I would like to execute some SQL queries during (or after) migration. Is there a way how I can do it without calling SQL queries each time at application startup? In my use-case I am trying to make fixed partitions to improve performance, but that way can also be used to create custom and more complex indexes or event triggers.
9 replies