Support for multiple with statements?

Vvolks5/8/2023
Is it possible to have multiple with statements?
const carriers = await tx
.with(carrierTaskCount)
.with(idleCarrierDriverCount)
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">; }; }'.
typescript: Property 'with' does not exist on type '{ select: { (): PgSelectBuilder<undefined, "db">; <TSelection extends SelectedFields>(fields: TSelection): PgSelectBuilder<TSelection, "db">; }; }'.
Bbloberenober5/10/2023
.with accepts varargs

Looking for more? Join the community!