withProjection

open override fun withProjection(newProjection: Projection): IPagedQuery

Creates a new PagedQuery with the specified projection.

Return

A new PagedQuery with the updated projection.

Parameters

newProjection

The new projection to apply.