-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easier api to use and support for sqlite #1149
Comments
Thank you for your interest in Komapper.
Komapper is an OR mapper that utilizes JDBC/R2DBC drivers.
Ktorm's style needs intermediate operations and terminal operations. |
Use case
It was a surprise to find this supported r2dbc‘s’ library! thanks a lot to author!
I'm a developer for android & desktop by compose-multiplatform (sometime also use kotlin to coding server side).
In android and desktop case, the database used by sqlite.
Describe the solution you'd like
1、Very much looking forward to a sqlite library that supports r2dbc
2、Can the current database api be more streamlined and easy to use。
for select some data,Need to call like this
Current:
val result = database.runQuery {
QueryDsl.from(metamodel).where { someConditions }
}
Expect such as (Some solutions for Reduced call level by ksp):
val result = database.select(metamodelHolder).where { someConditions }
The usage idea comes from ktorm's sql dsl the one I'm currently using,but this lib has no plan to supported r2dbc(which feature I've been looking forward for a long long time)
The text was updated successfully, but these errors were encountered: