• Type Parameters

    • R extends object
    • W extends WithQueryTables

    Parameters

    • ctes: (
          cte: <T extends object>(
              expr: Withable<T>,
              options?: XOR<{ materialized?: true | undefined; }, { notMaterialized?: true | undefined; }> & { search?: undefined; cycle?: undefined; },
          ) => Cte<T>,
      ) => W
    • then: (args: W) => Withable<R>
    • Optionalopts: { recursive?: true }

    Returns With<R, W>