withProjection

open override fun withProjection(newProjection: Projection): IListQuery

Creates a new ListQuery with the specified projection.

Return

A new ListQuery with the updated projection.

Parameters

newProjection

The new projection to apply.