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

fkrauthan

04/08/2019, 9:54 PM
What database framework/library are you guys using for ktor?
m

marcinmoskala

04/08/2019, 10:05 PM
Currently Exposed
f

fkrauthan

04/08/2019, 10:39 PM
I like exposed but it is not really useful for me as I have a Postgres Database with jsonb entities. And some of my queries need to use custom postgres functions and use columns out of the jsonb object.
n

napperley

04/08/2019, 11:52 PM
I am using JOOQ ( https://www.jooq.org/ ) which is Java based. The entire DB logic layer for my commercial server app is written in Kotlin. Unfortunately JOOQ doesn't have Kotlin support for its code generator ( https://github.com/jOOQ/jOOQ/issues/6345 ). JOOQ has a official Getting Started guide for Kotlin: https://www.jooq.org/doc/3.11/manual/getting-started/jooq-and-kotlin/
m

mp

04/09/2019, 3:54 AM
+1 for jooq. I put together https://bitbucket.org/marshallpierce/ktor-demo/src/master/ to show how to use jooq with ktor (as well as other common libs) in a working, relatively feature complete stack.
👍 2
h

hmole

04/09/2019, 5:00 AM
javax.sql wiht extensions
v

vonox7

04/09/2019, 8:40 PM
Currently a custom made wrapper for mongodb. Thinking about open sourcing it as stand-alone project.
2 Views