ktorm icon indicating copy to clipboard operation
ktorm copied to clipboard

Reactive support via R2DBC and Coroutines Flow

Open sdeleuze opened this issue 6 years ago • 8 comments

It would be awesome if Ktorm could be non-blocking and reactive by leveraging R2DBC instead of JDBC exposed via Coroutines and its Flow API instead of Sequence.

sdeleuze avatar Jun 15 '19 06:06 sdeleuze

Thanks for your suggestion.

I did consider to make Ktorm non-blocking via coroutines. But it requires a huge refactoring of existing code base, so I don't know when it will be released. Maybe in a far future.

vincentlauvlwj avatar Jun 15 '19 08:06 vincentlauvlwj

My first suggestion would be to change so that a query is applied to a connection object. Then the JDBC and R2DBC specific code can be separated. This would also allow for multiple datasources.

corneil avatar Jun 15 '19 12:06 corneil

I am working on an application where I will have to select data from quite large tables, so an async Flow API with postgresql set to single row mode would make this library perfect for this.

Globegitter avatar Sep 04 '19 11:09 Globegitter

2020年8月12日 , 期待中

zhengchalei avatar Aug 12 '20 08:08 zhengchalei

2022年4月17日 , 期待中

ForteScarlet avatar Apr 16 '22 18:04 ForteScarlet

2022年6月8日 , 期待中

BaLaLaLs avatar Jun 08 '22 03:06 BaLaLaLs

2022年8月2号,期待中

HoneyTorres avatar Aug 02 '22 12:08 HoneyTorres