4 ms·
You're right, stateful dependencies like DB handles need to be passed in manually, and that's a bit of extra legwork you need to do.
by loevborg 1y ago
You're right, stateful dependencies like DB handles need to be passed in manually, and that's a bit of extra legwork you need to do.
- Charon77 1y agoJust use a static variable to the DB instance / pool, maybe using singletons, so everyone needing it have access.