-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Type-safe Kotlin query extension #1491
Comments
Let's take a step back here before proposing code changes. Kotlin provides a lot of exciting opportunities to create a DSL for querying. Please also look at MongoDB first, where we have a similar approach. We should clarify the goal first before proceeding here. |
Hello @mp911de And I'll write down what I want to do as a PR
this is the goal I would like to do. and if you have any opinion please let me know! |
The code I was referring to is at: Our extension provides then a criteria along the lines of: val typed = Book::price gte 100
val criteria = Criteria("price").gte(100) |
I wonder one stuff how to get column name?? because in R2dbcEntityTemplate you used this is the link: acbc814 |
Column names are not related at all as the Kotlin extensions work on the property level, effectively creating a |
I am useing R2dbcEntityTemplate. and I try to create dynamic where sql using kotlin but there are not util function
and I would like to get column name using kotlin KProperty.
can I make this one and contribute this repo?
The text was updated successfully, but these errors were encountered: