monarisa
Explore posts from serversDTDrizzle Team
•Created by monarisa on 7/31/2024 in #help
The type-check of partial-select doesn't work well
Oh...!!! Thank you so much...!!!
It works!!
And what you care about storing the global db is amazing.
19 replies
DTDrizzle Team
•Created by monarisa on 7/31/2024 in #help
The type-check of partial-select doesn't work well
Actually I switch driver according to whether the env is local or production.(local: drizzleProxy, production: drizzleTiDB)
And I use global variable because I don't want to make many db instances.
What should I define the type of the global variable??
Or are there any other best practices?
19 replies
DTDrizzle Team
•Created by monarisa on 7/31/2024 in #help
The type-check of partial-select doesn't work well
Thank you for trying...!!!
And when I use your code, it works.
But my code is this. And I found out the global definition make it broken.
(please try it again..??)
19 replies
DTDrizzle Team
•Created by monarisa on 7/31/2024 in #help
The type-check of partial-select doesn't work well
Thank you for your comment.
This is my tsconfig.
And strict mode set to true, but even when set to false, I cannot solve the problem.
19 replies