kotlin-orm / ktorm

A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.
https://www.ktorm.org
Apache License 2.0
2.13k stars 147 forks source link

Reactive support via R2DBC and Coroutines Flow #23

Open sdeleuze opened 5 years ago

sdeleuze commented 5 years ago

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.

vincentlauvlwj commented 5 years ago

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.

corneil commented 5 years ago

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.

Globegitter commented 5 years ago

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.

zhengchalei commented 4 years ago

2020年8月12日 , 期待中

ForteScarlet commented 2 years ago

2022年4月17日 , 期待中

BaLaLaLs commented 2 years ago

2022年6月8日 , 期待中

HoneyTorres commented 2 years ago

2022年8月2号,期待中

sungmin-park commented 4 weeks ago

2024년 10월 14일 - 여전히 기다리는 중

suslovsergey commented 1 week ago

any news?