Type alias AnyAliasedColumnWithTable<DB, TB>

AnyAliasedColumnWithTable<DB, TB>: DrainOuterGeneric<{
    [T in TB]: T extends string
        ? keyof DB[T] extends string
            ? `${T}.${keyof DB[T]} as ${string}`
            : never
        : never
}[TB]>

Just like AnyColumnWithTable but with a as <string> suffix.

Type Parameters

  • DB

  • TB extends keyof DB

Generated using TypeDoc