export function getSubqueryColumns<S extends ColumnsSelection, A extends string>(
query: WithSubqueryWithSelection<S, A> | SubqueryWithSelection<S, A>
): (typeof query)['_']['selectedFields'] {
return query[SubqueryConfig as unknown as string].selection;
}
export function getSubqueryColumns<S extends ColumnsSelection, A extends string>(
query: WithSubqueryWithSelection<S, A> | SubqueryWithSelection<S, A>
): (typeof query)['_']['selectedFields'] {
return query[SubqueryConfig as unknown as string].selection;
}