Support for multiple with statements?

Is it possible to have multiple with statements?

    const carriers = await tx
        .with(carrierTaskCount)
        .with(idleCarrierDriverCount)


typescript: Property 'with' does not exist on type '{ select: { (): PgSelectBuilder<undefined, "db">; <TSelection extends SelectedFields>(fields: TSelection): PgSelectBuilder<TSelection, "db">; }; }'.
Was this page helpful?