Christiano
12/30/2023, 7:42 PMdatabase.connect
function? Would you just use insertAndIgnore
, or is there some kind of callback on the database that states that it has been created instead of just connected? 🤔jean-paul
01/01/2024, 7:35 PMfun Application.configureRouting() {
val dao: DAOFacade = DAOImpl()
.apply {
runBlocking {
if (allPosts().isEmpty()) {
addNewPost("PostTitle", "Post Content")
addNewPost("PostTitle2", "Post 2 Content")
}
}
}
}