ProjectionDsl

DSL for building a Projection that defines which fields to include or exclude in the query result.

This class extends NestedFieldDsl, allowing for nested field handling. It provides methods to specify fields to be included or excluded from the projection, and then build a Projection object.

Example usage:

val projection = projection {
include("name", "email")
exclude("password")
}

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun exclude(vararg fields: String)
Link copied to clipboard
fun include(vararg fields: String)
Link copied to clipboard
fun nested(nestedField: String)
Link copied to clipboard
Link copied to clipboard