Skip to content

Conversation

@mp911de
Copy link
Member

@mp911de mp911de commented Aug 27, 2021

We now support the functional fluent query definition API for imperative and reactive usage with Querydsl and Query by Example.

Page<PersonProjection> first = repository.findBy(Example.of(probe),
		it -> it.as(PersonProjection.class).project("firstname").page(PageRequest.of(0, 1, Sort.by("firstname"))));

Closes #3757
Depends on spring-projects/spring-data-commons#2421

We now support the functional fluent query definition API for imperative and reactive usage with Querydsl and Query by Example.

Page<PersonProjection> first = repository.findBy(Example.of(probe),
		it -> it.as(PersonProjection.class).project("firstname").page(PageRequest.of(0, 1, Sort.by("firstname"))));
@mp911de mp911de added the type: enhancement A general enhancement label Aug 27, 2021
mp911de added a commit that referenced this pull request Oct 8, 2021
We now support the functional fluent query definition API for imperative and reactive usage with Querydsl and Query by Example.

Page<PersonProjection> first = repository.findBy(Example.of(probe),
		it -> it.as(PersonProjection.class).project("firstname").page(PageRequest.of(0, 1, Sort.by("firstname"))));

Closes #3757
Original pull request: #3788.
@mp911de mp911de closed this Oct 8, 2021
@mp911de mp911de deleted the issue/3757 branch October 8, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add FluentQuery support to QuerydslPredicateExecutor and QueryByExampleExecutor

2 participants