FinishFactory

type FinishFactory <T extends FinishClause> = Factory<Container<QueryToken>, T>

Description

Alias for the finish factory function for the specified finish clause.

The factory will receive the Container with the final token data (QueryToken) of the constructed query.

The factory function must return the extended FinishClause. The build it factory FinishClause.createFrom is recommended to be used internally so the expected behaviour applies with added custom functionality for the custom factory.