Interface QuerydslR2dbcFragment<T>

All Known Subinterfaces:
QuerydslR2dbcRepository<T,ID>
All Known Implementing Classes:
SimpleQuerydslR2dbcFragment

public interface QuerydslR2dbcFragment<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Long>
    deleteWhere(com.querydsl.core.types.Predicate predicate)
    Deletes all entities matching the given Predicate.
    com.querydsl.core.types.Expression<T>
    Returns entity projection used for mapping QT to T.
    <O> org.springframework.r2dbc.core.RowsFetchSpec<O>
    query(Function<com.querydsl.sql.SQLQuery<?>,com.querydsl.sql.SQLQuery<O>> builder)
     
    reactor.core.publisher.Mono<Long>
    update(Function<com.querydsl.sql.dml.SQLUpdateClause,com.querydsl.sql.dml.SQLUpdateClause> update)
     
  • Method Details

    • query

      <O> org.springframework.r2dbc.core.RowsFetchSpec<O> query(Function<com.querydsl.sql.SQLQuery<?>,com.querydsl.sql.SQLQuery<O>> builder)
    • update

      reactor.core.publisher.Mono<Long> update(Function<com.querydsl.sql.dml.SQLUpdateClause,com.querydsl.sql.dml.SQLUpdateClause> update)
    • deleteWhere

      reactor.core.publisher.Mono<Long> deleteWhere(com.querydsl.core.types.Predicate predicate)
      Deletes all entities matching the given Predicate.
      Parameters:
      predicate - to match
      Returns:
      amount of affected rows
    • entityProjection

      com.querydsl.core.types.Expression<T> entityProjection()
      Returns entity projection used for mapping QT to T.
      Returns:
      entity projection