Leonardo Silveira
DTDrizzle Team
•Created by Leonardo Silveira on 8/21/2024 in #help
how to close underlying connection pool being used by drizzle?
hello all,
in my test cases i have those before and after hooks:
however the try/catch seems to be ineffective.
it always ends up like this:
comparing the code with a similar one made with knex, knex offers a destroy method.
is there anything similar in drizzle so i can close connections before shut down the test container?
any tip is welcome, thanks in andvance.
3 replies
DTDrizzle Team
•Created by Leonardo Silveira on 8/8/2024 in #help
How to avoid duplicate definition
Hello all, currently i have this on several of my models:
if feel i am doing something wrong.
is there a way to derive the type from the table so i don't have to double it?
any guidance is welcome.
3 replies