https://kotlinlang.org logo
#ktor
Title
# ktor
ł

Łukasz Bednarczyk

08/20/2021, 8:24 AM
Hi 🙂 I have three modules (main, core, synchronization), and I need to DB access in core and synchronization. Should I init a connection to DB in the main module or core and synchronization modules?
a

Aleksei Tirman [JB]

08/20/2021, 10:10 AM
Can you initialize it in the main function instead of a module?
ł

Łukasz Bednarczyk

08/20/2021, 10:16 AM
I think that I can