This repository has been archived by the owner on Jun 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
基本功能实现 #2
Open
lookup-cat
wants to merge
17
commits into
kotlin-orm:master
Choose a base branch
from
lookup-cat:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
基本功能实现 #2
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upgrade kotlin-coroutine version to 1.6.0 upgrade r2dbc version to 0.9.1.RELEASE delete cachedRow delete cacheRowMetadata update test sql file update sqlDialect update database add ktorm-r2dbc dsl add table support add entity support add entitySequence support
move EntityDml.kt
update argsBinding method remove SqlType metadata field
add entityGroup update QueryRow update EntitySequence
add EntityTest (undone)
update package name
感谢你的贡献,但是你的代码量有点多,我可能要好一段时间才能看完,不好意思哈 |
代码可能还有点乱 因为新增的代码没有写上注释,后面我再慢慢补上。不过主要还有一些api跟ktorm不一致的问题,大佬后面有空看到了,可以提下意见我再修改一下 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
已实现ktorm-core中的大部分api
下面是相比ktorm-core较大变化的地方
EntitySquence Query支持协程查询
EntitySquence Query不再保存查询结果的缓存数据
不再缓存数据库返回的Row结果
EntitySquence Query删除iterator接口 使用Flow接口代替
SqlDialect新增database metadata(因为r2dbc没有提供database metadata r2dbc/r2dbc-spi#203
代码已经可以测试跑通 下面是存在的问题
还没有详细的注释文档
测试流程中有两个批量执行sql报错 这是由于r2dbc-h2的驱动实现错误导致 r2dbc/r2dbc-h2#217