Package com.infobip.spring.data.r2dbc
Interface QuerydslR2dbcFragment<T>
- All Known Subinterfaces:
QuerydslR2dbcRepository<T,ID>
- All Known Implementing Classes:
SimpleQuerydslR2dbcFragment
public interface QuerydslR2dbcFragment<T>
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Long>deleteWhere(com.querydsl.core.types.Predicate predicate) Deletes all entities matching the givenPredicate.com.querydsl.core.types.Expression<T>Returns entity projection used for mappingQTtoT.<O> org.springframework.r2dbc.core.RowsFetchSpec<O>reactor.core.publisher.Mono<Long>
-
Method Details
-
query
<O> org.springframework.r2dbc.core.RowsFetchSpec<O> query(Function<com.querydsl.sql.SQLQuery<?>, com.querydsl.sql.SQLQuery<O>> builder) -
update
-
deleteWhere
Deletes all entities matching the givenPredicate.- Parameters:
predicate- to match- Returns:
- amount of affected rows
-
entityProjection
com.querydsl.core.types.Expression<T> entityProjection()Returns entity projection used for mappingQTtoT.- Returns:
- entity projection
-