spring-projects / spring-data-r2dbc

Provide support to increase developer productivity in Java when using Reactive Relational Database Connectivity. Uses familiar Spring concepts such as a DatabaseClient for core API usage and lightweight repository style data access.
Apache License 2.0
708 stars 132 forks source link

How to select some properties with lambda function? #814

Closed pigping88 closed 1 year ago

pigping88 commented 1 year ago

Repository.findBy(Example.of(Member), reactiveFluentQuery -> { reactiveFluentQuery.project(Member::getID() ....) });

Now, Repository.findBy(Example.of(Member), reactiveFluentQuery -> { reactiveFluentQuery.project("id") }); When will support it?

mp911de commented 1 year ago

Since version 1.4, see #663