ProjectionDsl

Builds a Projection: the fields to return (include) or to leave out (exclude); with neither, every field.

projection {
include("aggregateId", "state.name")
exclude(OrderStateProperties.STATE__ADDRESS)
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun exclude(vararg fields: String)
fun exclude(vararg fields: QueryField<*>)
Link copied to clipboard
fun include(vararg fields: String)
fun include(vararg fields: QueryField<*>)