Hi, I have the below sample code from one of the K...
# exposed
m
Hi, I have the below sample code from one of the Ktor Example apps. Please provide an example on how to call a stored procedure using this?
Copy code
suspend fun <T> dbQuery(block: suspend () -> T): T =
        newSuspendedTransaction(<http://Dispatchers.IO|Dispatchers.IO>) { block() }
a
fun getUsers() = dbQuery { Users.select…..}