夜里的向日葵

Results 2 issues of 夜里的向日葵

已实现ktorm-core中的大部分api 下面是相比ktorm-core较大变化的地方 EntitySquence Query支持协程查询 EntitySquence Query不再保存查询结果的缓存数据 不再缓存数据库返回的Row结果 EntitySquence Query删除iterator接口 使用Flow接口代替 SqlDialect新增database metadata(因为r2dbc没有提供database metadata [https://github.com/r2dbc/r2dbc-spi/issues/203](https://github.com/r2dbc/r2dbc-spi/issues/203) 代码已经可以测试跑通 下面是存在的问题 还没有详细的注释文档 测试流程中有两个批量执行sql报错 这是由于r2dbc-h2的驱动实现错误导致 [https://github.com/r2dbc/r2dbc-h2/pull/217](https://github.com/r2dbc/r2dbc-h2/pull/217)

目前的注解需要直接加在实体类上 ```kotlin @Table data class User( @PrimaryKey val id: Int?, val username:String?, val age:Int? ) ``` 也许我们可以提供另一种配置实体的方式, 就像下面这样 ```kotlin @TableDefine( entityClass = User::class, primaryKeys = ["id"] ) class EntityConfig ```...

enhancement