flattenRecursively

internal fun ColumnsResolver<*>.flattenRecursively(includeGroups: Boolean = true, includeTopLevel: Boolean = true): ColumnsResolver<*>

Flattens a ColumnsResolver recursively.

If this is a SingleColumn containing a single ColumnGroup, the "top-level" is considered to be the ColumnGroup's children, otherwise, if this is a ColumnsResolver, the "top-level" is considered to be the columns in the ColumnsResolver.

Parameters

includeGroups

Whether to include ColumnGroups in the result.

includeTopLevel

Whether to include the "top-level" columns in the result.