krush icon indicating copy to clipboard operation
krush copied to clipboard

Jasync support

Open maxpert opened this issue 6 years ago • 2 comments

I think one of the core thing that any Kotlin ORM/persistence layer should have is the coroutine support. It's a sad landscape today where we have basic layers like https://github.com/jasync-sql/jasync-sql but nobody is building the nice idiomatic layer and almost no projects (except R2DBC) support the async DB calls. I believe Krush can actually be distinct here and support async DB out of the box.

maxpert avatar Dec 30 '19 16:12 maxpert

Hi, Krush internally uses Exposed, which already supports coroutines and has R2DBC support in the Roadmap. I'll try to provide an example for coroutines https://github.com/JetBrains/Exposed/wiki/Transactions#working-with-coroutines https://github.com/JetBrains/Exposed/blob/master/ROADMAP.md

pjagielski avatar Dec 30 '19 19:12 pjagielski

Here is the specific R2DBC issue for Exposed: https://github.com/JetBrains/Exposed/issues/456

And here is the updated Exposed roadmap link: https://github.com/JetBrains/Exposed/blob/master/docs/ROADMAP.md

jhult avatar Mar 02 '21 01:03 jhult