Hello! I am trying to learn Ktor and have a questi...
# ktor
t
Hello! I am trying to learn Ktor and have a question regarding the documentation section 'Ktor Server/Database integration/Database persistence with Exposed'. Why the Kotlin object providing the database 'init()' function is named 'DatabaseFactory'? Isn't the Kotlin object a 'Singleton' and not the 'Factory' by its nature? If it really is the "Factory", how can I get different database objects with this 'Factory'? Imho this name is misleading - can I replace it with a different one (e.g. 'DBSingleton') in my project? thank you in advance
e
Hey, @Tadeusz. Could you log an issue or open the PR? I think we should fix it
t
OK, thank you for your quick reply