singleQuery
Executes a single query using the provided DSL block.
This method takes a lambda that configures a SingleQueryDsl instance. The DSL allows for defining the conditions, projections, and sorting for the query. After the DSL block is executed, the method builds and returns an ISingleQuery object that can be used to execute the query.
Return
An ISingleQuery representing the configured query.
Parameters
block
A lambda that receives a SingleQueryDsl and configures the query.