listQuery

Constructs a list query using the provided ListQueryDsl block.

This function initializes a ListQueryDsl and applies the configurations defined within the block to it. The resulting IListQuery object encapsulates the query parameters, such as limit, sort, and conditions, which are set through the DSL.

Return

An IListQuery representing the constructed query with all the specified configurations.

Parameters

block

A lambda that receives a ListQueryDsl instance for configuring the query.